Commit Graph

30 Commits

Author SHA1 Message Date
Ralf Becker
bba3fa804a some database optimizing: changing columns with no user-input to CHARACTER SET ascii (instead of utf8), shorten indexes and add additional autoincrement columns where primary key contained varchars 2015-07-11 13:56:50 +00:00
Ralf Becker
13bcf73178 fix for 5.4 PHP Strict Standards: Declaration of ADODB2_mysql::_CreateSuffix() should be compatible with ADODB_DataDict::_CreateSuffix 2012-07-20 16:30:26 +00:00
José Luis Gordo Romero
3081b0a05a ORA - Fixed schema creation (indexes, triggers and secuences):
Indexes: The solution of put the index name of the first columnt dont't
work because duplicates, create instead a hash of the large name (PHP 5
>= 5.1.2, PECL hash:1.1-1.5) with an fixed char at beginning (Oracle
objects names can't start with a number)

Secuences & triggers: create a a hash of the large name.
2007-10-18 04:29:16 +00:00
José Luis Gordo Romero
96ed4814ac OCI8 ADODB - Fix imported from adodb 5.02 (Control triggers and secuence names > 30 chars, oracle restriction) 2007-09-30 03:00:03 +00:00
Carsten Wolff
645750297f explicitly enable casts between text and bytea for transparent use by schema_proc 2007-09-27 22:06:58 +00:00
Ralf Becker
4b80391b71 "fix for sequenzes tables are depending on for postgres 8.x, thanks to Peter Eisentraut" 2007-06-25 15:57:19 +00:00
Ralf Becker
8f1f3f68cb "fix to detect if a table depends on a sequence to not try to drop it separate, thanks to Peter Eisentraut <peter_e-at-gmx.net>" 2007-06-24 08:36:20 +00:00
Ralf Becker
7f64e2d175 fix for bug #488: Postgres errors when upgrading to 1.4 beta 2007-05-12 16:58:47 +00:00
Ralf Becker
b826e5c2a3 extra code for changing defaults under mssql 2006-04-09 10:53:31 +00:00
Ralf Becker
93e3241b70 re-added to postgres fixes not (yet) contributed to JohnLim:
- updates to work around postgres error while upgrading a phpGW 0.9.14 install
- postgres fix (error in converting varchar to int if >= 100)
2005-09-26 10:28:28 +00:00
Ralf Becker
4e5cb1786e imported adodb 4.65 2005-09-26 10:12:10 +00:00
Ralf Becker
4d498d47cb updates to work around postgres error while upgrading a phpGW 0.9.14 install 2005-02-10 15:15:29 +00:00
Ralf Becker
10864e96f8 fixed error with fulltext indexes (eg. in the wiki), when the default-type-type is set to InnoDB, which is eg. the default for some newer windows installs or mysql 4.1.x 2005-02-04 11:13:01 +00:00
Ralf Becker
3b2da86ce2 postgres fix (error in converting varchar to int if >= 100) 2004-11-21 22:40:21 +00:00
Ralf Becker
630c88d766 reworked installation/upgrade process to not use delta-updates any more, as we can now reliable read the schema back from our supported databases:
- makes update scripts a lot easier and saver
- updates are a lot faster now
==> only the needed update-functions get called
2004-10-23 15:00:44 +00:00
Ralf Becker
2740acc03e fixed the schema-retrival functions for MySql, Postges and MaxDB 2004-10-14 20:35:50 +00:00
Ralf Becker
28ed51f49f fix for bug [ 1027089 ] ALTER TABLE ... ADD COLUMN ... DEFAULT doesn't work
postgres cant add a column with a default in one go
2004-09-19 08:26:45 +00:00
Ralf Becker
7b6b6d5759 fixed mapping of I4 to INTEGER now, it was mediumint which is a 3-byte interger only 2004-08-30 15:06:05 +00:00
Ralf Becker
adf79e6d7e added code to drop not-depending sequences when droping a table, depending ones cant and dont need to be droped separatly 2004-08-15 19:52:49 +00:00
Ralf Becker
9a67dc3141 import ADOdb 4.52 2004-08-15 18:45:20 +00:00
Ralf Becker
ee3f5cafff added own MetaType, MetaColumns and MetaColumnNames functions for MaxDB to have better control over the column-types 2004-08-15 18:12:41 +00:00
Ralf Becker
1cabb62405 new schema_proc class seems to work now 2004-08-13 18:59:00 +00:00
Ralf Becker
b4e2d56594 added the missing postgres functions - thought they are not fully testes yet 2004-08-11 23:22:25 +00:00
Ralf Becker
4dae67c9c0 got updates working again for MaxDB, MySql and MsSql (untested). Now I need to start working on postgres. 2004-08-09 21:20:08 +00:00
Ralf Becker
b3d517a98c imported version 4.51 of ADOdb 2004-08-02 08:30:47 +00:00
Ralf Becker
d5c32df4e3 first version of data-dictionary for sapdb 2004-07-23 00:41:24 +00:00
Ralf Becker
ec9ef473ce imported ADOdb ver. 4.50 which should solve many php5 probs 2004-07-10 07:19:40 +00:00
Ralf Becker
0dd4cc1925 imported ADOdb version 4.22:
it seems to fix some php5 probs the old version had
2004-06-08 14:09:55 +00:00
Ralf Becker
3df33d3ef6 imported ADOdb version 4.20 released 27 Feb 2004 2004-03-15 22:17:52 +00:00
Ralf Becker
d6b8677cbd Initial revision 2003-10-19 19:05:23 +00:00