Marc Boeren
35bdc36c5b
Call functions by their new, proper names instead of what are now aliases.
...
Change OCIFetchInto (deprecated) to oci_fetch_array.
2004-05-06 12:22:14 +00:00
Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
2004-01-08 08:18:22 +00:00
James Cox
f68c7ff249
updating license information in the headers.
2003-06-10 20:04:29 +00:00
Marc Boeren
85f81c6006
Fix for bug #22221 : pgsql version for dbx_query suppressed a warning that
...
was trappable by using a user-defined error-handler. A different use of
pgsql_getrow removed the warning and thus the need for suppressing it.
2003-02-19 13:32:27 +00:00
Sebastian Bergmann
b506f5c8f8
Bump year.
2002-12-31 16:08:15 +00:00
Marc Boeren
6d9447a3dc
Coding style.
...
# not my style :-)
2002-10-30 15:03:01 +00:00
Marc Boeren
7b9eae0e6e
escape_string functions will now return empty string directly.
2002-10-30 12:02:51 +00:00
Marc Boeren
25e7a09229
Added dbx_escape_string function
...
# tested on odbc, oci8 and mysql
@Added dbx_escape_string function to dbx module. (Marc)
2002-10-29 14:08:40 +00:00
Yasuo Ohgaki
d43e889854
Fix memory leaks.
2002-02-13 13:11:36 +00:00
Marc Boeren
6d3d668887
Fixed bug where users with empty passwords could not connect. (Mc)
...
# thanks for testing, Yasuo. Could you commit the mem-leak patch now?
2002-02-13 11:09:48 +00:00
Sebastian Bergmann
38933514e1
Update headers.
2001-12-11 15:32:16 +00:00
Jeroen van Wolffelaar
c033288573
Back-substitute for Z_* macro's. If it breaks some extension (the script isn't optimal, it parses for example var->zval.value incorrect) please let me know.
2001-09-25 21:58:48 +00:00
Marc Boeren
48d6d5e531
whitespace, braces, coding style (Mc)
2001-08-17 13:56:29 +00:00
Andi Gutmans
e245e33f1f
- Use the same coding standards for pointers as the rest of PHP.
...
- For example, char ** foo should be char **foo
2001-08-17 13:00:46 +00:00
Zeev Suraski
f6f6c4d7e6
Whitespace
2001-08-11 16:39:07 +00:00
Frank M. Kromann
587e3600d8
Adding cvs ID to source files
2001-08-07 19:09:58 +00:00
Marc Boeren
98eed02fd7
Replaced dbx_cmp_asc and dbx_cmp_desc with dbx_compare function and
...
DBX_CMP_ASC, DBX_CMP_DESC flags.
Default comparison changed from DBX_CMP_TEXT to new DBX_CMP_NATIVE.
Solved bug in associative fields when using mssql
Cleaned up comments (/*/ ... /*/ to /* ... */)
dbx_connect now always return false if the database is not found.
Optimized dbx_query field-info retrieval loop
2001-06-05 13:39:09 +00:00
Marc Boeren
e2c8e80e2b
Removed some old commented code (Mc)
2001-04-18 12:34:52 +00:00
Rui Hirokawa
053994b5eb
deleted warning output in dbx/pgsql.
2001-04-14 10:32:14 +00:00
Marc Boeren
4532eebc4a
Added a database member to the dbx_link object. Since e.g. mysql reuses
...
connections, two or more dbx_link objects may share the connection
identifier. The database name is used in the dbx_query, where it calls
mysql_db_query instead of mysql_query.
This means the database name has to be passed around to all dbx_xxx_query
functions, hence the update on all the files. (Mc)
# Thanks to Christian Rabe for all the input on this issue!
2001-04-11 08:14:57 +00:00
Marc Boeren
cbdd711312
Inserted a few extra initialisations, just in case. Had some problems in a
...
different module, this solved it there, hance the added insurance. (Mc)
2001-04-02 08:51:35 +00:00
Marc Boeren
1a842c4ae6
Fixed compile errors for PostgreSQL support (Mc)
...
Removed globals that Rui put in, and changed the dbx_get_row
to include a row_number (which PostgreSQL expects) (Mc)
Added source files to Makefile.in and dbx.dsp (Mc)
#Could someone please check if the PostgreSQL support works?
#And please, check your work _before_ you commit anything!
2001-03-23 14:50:17 +00:00
Rui Hirokawa
cd1debc81c
changed license of PostgreSQL module in ext/dbx.
2001-03-23 13:40:12 +00:00
Rui Hirokawa
6ee15704e8
added initial support for PostgreSQL to ext/dbx.
2001-03-23 11:50:04 +00:00