Commit Graph

54 Commits

Author SHA1 Message Date
Andi Gutmans
dbeb4158d2 - A belated happy holidays and PHP 5 2004-01-08 08:18:22 +00:00
Marc Boeren
22872bb8fa Make life for the doc-team easier, without causing harm ;-) 2003-11-03 11:15:23 +00:00
Marc Boeren
b135205d05 Fix warning and converted dos-crlf to unix line-endings. 2003-09-08 07:19:08 +00:00
Marc Boeren
e3929cc33a Added DBX_RESULT_UNBUFFERED flag for dbx_query.
Added dbx_fetch_row() function.
Added/updated tests for both.
@Added DBX_RESULT_UNBUFFERED flag for dbx_query. (Marc)
@Added dbx_fetch_row() function. (Marc)
2003-09-05 08:39:26 +00:00
Marc Boeren
98b74781a5 WS 2003-07-10 08:34:03 +00:00
Marc Boeren
76aba9b755 Add -2003 to copyright line (Marc). 2003-07-10 08:25:58 +00:00
Marc Boeren
60d1776b31 Add SQLite support to DBX (Marc).
@Add SQLite support to DBX (Marc).
2003-07-09 16:31:40 +00:00
Andrey Hristov
eb33adf139 proto fixes 2003-06-15 15:29:46 +00:00
James Cox
f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
Hartmut Holzgraefe
fa692f6744 proto fix 2003-03-17 13:08:59 +00:00
Ilia Alshanetsky
453368afdf Removed pointless checks. 2003-01-30 02:33:16 +00:00
Ilia Alshanetsky
4fde1b8de1 zend_error() -> php_error_docref(). 2003-01-24 05:21:08 +00:00
Ilia Alshanetsky
a7b91019e9 Removed pointless memory allocation checks. 2003-01-18 19:49:28 +00:00
Marcus Boerger
2705070dd8 Fix ZTS-ZE2 build 2003-01-04 19:18:43 +00:00
Sebastian Bergmann
b506f5c8f8 Bump year. 2002-12-31 16:08:15 +00:00
Derick Rethans
a88e5c6e8d - Remove \n from error messages 2002-11-10 21:24:54 +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
Marc Boeren
1d1febb79b Added ini-entry and dbx_query flags to control the returned
column names (unchanged, lowercase, uppercase).
2002-10-28 09:41:15 +00:00
Marc Boeren
4448c3f69f Added Oracle (oci8) support
@Added Oracle (oci8) support to dbx module (Mc)
2002-10-23 10:50:22 +00:00
Sander Roobol
151bc2a082 Removing unused variable 2002-04-18 14:04:10 +00:00
Derick Rethans
13633cb945 - MFB 2002-03-26 08:29:14 +00:00
Sander Roobol
8581f8394b Some PHP-info layout fixes (\n will automatically be converted into <br />)
and a comment-related fix.
2002-03-20 18:29:28 +00:00
Marc Boeren
cb46dbb6eb Added support for Sybase-CT to dbx module (Mc). 2002-02-18 09:21:51 +00:00
Sebastian Bergmann
38933514e1 Update headers. 2001-12-11 15:32:16 +00:00
Egon Schmid
65429fbaac There are some rules. 2001-11-08 21:32:48 +00:00
Derick Rethans
ea83d64507 - prototypes
#- Thanks to Zak for pointing this out during his talk
2001-11-08 20:23:33 +00:00
Stig Bakken
689252082c * zend_module_entry change: apino, debug and zts are moved first,
see README.EXTENSIONS file for upgrade help.
@Introduced extension version numbers (Stig)
2001-10-11 23:33:59 +00:00
Jeroen van Wolffelaar
6cfba2a3ea 2nd phase in back-substitution those macro's
I've got pretty much everything now...
2001-09-25 22:49:04 +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
Stig Bakken
3b4f80a035 * added two missing end folds 2001-08-22 00:09:27 +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
Marc Boeren
9a22911392 Added preliminary support framework for Oracle 8. (Mc)
Thies C. Arntzen will look into this to actually make it work,
as I don't have Oracle installed here. As I said, it is only a
framework for Oracle, and it will most likely crash if you
actually try to use the oracle functions before Thies (or
anyone else that wants to, of course) has had a chance to look
at it.
# The other databases will continue to work, of course :)
2001-08-17 12:54:24 +00:00
Andi Gutmans
a5afd0e9d0 - ZE2 fixes 2001-08-13 16:40:12 +00:00
Frank M. Kromann
587e3600d8 Adding cvs ID to source files 2001-08-07 19:09:58 +00:00
Frank M. Kromann
21e2a8fc1b Adding FrontBase support to the DBX extension 2001-08-07 19:08:06 +00:00
Zeev Suraski
c43806f415 Zend compatibility patch 2001-07-30 08:24:42 +00:00
Zeev Suraski
1c25b8dd53 Avoid TSRMLS_FETCH()'s, and clean up a bit of stale extern's and layout on the way 2001-07-30 01:56:43 +00:00
Marc Boeren
e8bcbacb3e changed implementation of creating reference to a value by columnname (Mc)
added a test for changing the referenced value (Mc)
2001-07-19 15:44:58 +00:00
Marc Boeren
113b128290 Fixed bug that caused dbx_query to segfault on Linux (not Windows, though) 2001-06-11 13:03:10 +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
Stig Bakken
1beda9ee1e * include "config.h" if HAVE_CONFIG_H is defined (for standalone dso build) 2001-05-24 10:07:29 +00:00
Marc Boeren
a7bff5d8f1 Passed db_handle to dbx_error_function instead of NULL (Mc)
# I don't know why it worked on my machine, but now it works
# because the code is right, not through magic :)
2001-05-07 14:49:05 +00:00
Marc Boeren
a56162243a Registered db-module constants for use in dbx_connect (Mc)
Added support for Microsoft SQL Server (Mc)
2001-05-04 09:42:45 +00:00
Marc Boeren
9fc2c61698 Added DBX_CMP_TEXT and DBX_CMP_NUMBER constants and support for them in
the dbx_cmp_desc and dbx_cmp_asc functions. The old method of passing a
string "number" is now no longer valid. (Mc)
2001-04-18 12:31:08 +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
066547a220 Added optional 'comparison_type' parameter to compare functions, to force
either text or number comparison. (Mc)
2001-04-09 11:53:39 +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
b8713b9c9b Removed #include php_config.h, since it was not necessary (Mc) 2001-03-26 08:26:07 +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