Commit Graph

52 Commits

Author SHA1 Message Date
Ralf Becker
e7d9ca5532 "suppressed warning if ADORecordSet::fetchSingle() has nothing to fetch and docu" 2008-03-13 10:59:57 +00:00
Ralf Becker
97f63b43ff some compatibility stuff for ADOdb<->PDO 2008-03-09 14:22:02 +00:00
José Luis Gordo Romero
7ab746e386 [Oracle Support]
- Enable $noNullString in oci8 driver, this solves inserts blanks on NOT NULL columns that are not part of the 
primary key
- Fixes problems as group creation, and others
2007-10-21 07:53:22 +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
1e9b08d510 fixed problems pointed out by Janosch Machowinski <scotch-AT-tzi.de> 2007-05-25 12:18:00 +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
ed687031a2 disabled it for security reasons 2006-03-08 22:13:00 +00:00
Ralf Becker
1c8ecb3992 enhanced _insertID function to deal with tables without oid's (default from 8.1+) 2005-11-19 20:13:06 +00:00
Ralf Becker
29ebabe0f5 quitent an other diagnostics 2005-11-14 08:32:59 +00:00
Ralf Becker
35a77b3c36 - quietent a warning if the connecting database does not exist
- cant use mysqli_real_escape_string without DB-connection, falling back to default quoting
2005-11-14 06:17:43 +00:00
Ralf Becker
40b35348e0 Get- and SetCharSet for mysql and mysqli 2005-11-07 13:37:21 +00:00
Ralf Becker
2477ebc7bb functions to get and set the charset 2005-11-04 18:38:29 +00:00
Régis Leroy
0f476f3e98 Bugfix: RowLock was not working with MySQL. ignore is a reserved word and could be empty. See as well fix on mysql driver for getOne with LIMIT and FOR UPDATE 2005-10-25 14:45:19 +00:00
Régis Leroy
9b4814ba81 bugfix: Select with LIMIT fail if FOR UPDATE is not after the LIMIT but before 2005-10-25 14:38:10 +00:00
Ralf Becker
7f835c1020 mysqli has a separete param for the port 2005-10-01 08:53:38 +00:00
Ralf Becker
d088c71ae0 mysqli should use the mysql datadictionary 2005-10-01 08:47:27 +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
a4b3f4fecb added patch from raphaelpereira-AT-gmail.com to allow creation of the DB under Postgres again 2005-09-06 10:20:56 +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
85a946bc5f enabling prepared statements for MaxDB 2004-09-19 10:32:35 +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
ec4bf09604 added MetaIndexes function for mssql 2004-08-17 08:21:09 +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
38a2ea7768 added MetaPrimaryKeys for MaxDB 2004-08-15 16:19:46 +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
ecf1fd06eb MetaIndexes and _insert_id functions added 2004-08-03 23:04:29 +00:00
Ralf Becker
5f8de74a2a added table and colum as parameter to Insert_ID() to correctly retrive the id under postgres and MaxDB 2004-08-03 23:03:38 +00:00
Ralf Becker
2d11bcec04 re-added (to be able to make patches agains 4.51) the sapdb change 2004-08-02 08:34:09 +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
Carsten Wolff
f2b7d8deda Fix for the same bug as after the last import of a new adodb-version.
I wonder, if someday all will start to patch instead of overwriting and committing.
Anyway, this bugfix will be part of the next ADODB release. See:
http://phplens.com/lens/lensforum/msgs.php?id=9849
2004-07-11 11:38:59 +00:00
Ralf Becker
ec9ef473ce imported ADOdb ver. 4.50 which should solve many php5 probs 2004-07-10 07:19:40 +00:00
Carsten Wolff
6bec2a4d48 Revert this file to V4.20, since V4.22 broke the autodetection of the bytea datatype.
Bug is reported to the ADODEB-folks:
http://phplens.com/lens/lensforum/msgs.php?id=9849
2004-06-20 11:55:25 +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
Carsten Wolff
56aa7e6eb3 removed some files that don't belong into cvs 2004-03-24 08:56:03 +00:00