Ralf Becker
e72d937e19
* MySQL: got mysqli extension working and make it default for EGroupware, as mysql is now officially deprecated, existing installs need to be switched manually in header.inc.php or Setup >> Manage header
...
prefering mysqli for new installs
2013-05-27 09:37:13 +00:00
Ralf Becker
0f42a2f916
fixes for PHP 5.4 warnings and strict warnings, thought disabled E_STRICT for now, because of various strict warnings in working code, which could not be easy fixed in all areas (see comment in phpgwapi/inc/functions.inc.php)
2012-05-16 12:39:52 +00:00
Ralf Becker
ffee79b8ea
* Backup/Addressbook: adding limited index-length to backed up schema and fix restore of old backups without (default to 32 on multicolumn indexes including text columns)
2012-04-12 08:08:06 +00:00
Ralf Becker
524b5d081b
some more PostgreSQL stuff from ADOdb 5.11
2011-04-10 15:06:22 +00:00
Ralf Becker
18b818bd57
reverting accidently commit r34595
2011-04-10 15:05:47 +00:00
Ralf Becker
bd4f019062
some more PostgreSQL stuff from ADOdb 5.11
2011-04-10 15:04:40 +00:00
Ralf Becker
caf6d694c2
using qstr (quoting of strings) from ADOdb 5.11, it might fix problems reported by Anthony Messina
2010-09-11 07:47:40 +00:00
Klaus Leithoff
2aa6baddcb
postgres: fix for problem with db_backup/update -> no MetaColumns retrieved anymore: if tablenames are quoted, remove the quotes as the use of tablenames in MetaColumns is for comparsion of content of fields in postgres system tables; quoting tablenames breaks comparsion here.
2010-06-01 12:24:29 +00:00
Ralf Becker
232252475f
patch fixing many depricated functions (eg. posix regular expressions) and features, which fill up the error_log under php5.3 (and will no longer be available under php6).
...
Patch is mostly created by script in egroupware/doc/fix_depricated.php in separate commit.
I do NOT advice to apply this patch to a production system (it's commited to trunk!), as the automatic modified regular expressions have a good change to break something ...
2009-06-08 16:21:14 +00:00
Ralf Becker
e2b84e8c32
dont try oids for new postgres versions
2008-05-30 07:08:19 +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
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
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
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
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
ec4bf09604
added MetaIndexes function for mssql
2004-08-17 08:21:09 +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
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
b3d517a98c
imported version 4.51 of ADOdb
2004-08-02 08:30:47 +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
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