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
Marc Boeren
4ce7a79870
mysql_db_query is deprecated, fixed by using mysql_select_db and
...
mysql_query (Mc).
2002-01-16 16:28:50 +00:00
Sebastian Bergmann
38933514e1
Update headers.
2001-12-11 15:32:16 +00:00
foobar
f1397d5339
Unified the configure messages.
2001-11-30 19:00:13 +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
Zeev Suraski
f6f6c4d7e6
Whitespace
2001-08-11 16:39:07 +00:00
Marc Boeren
c04b317a28
Fixed a too hasty copy/paste action in the DBX_FBSQL constant check
2001-08-08 10:08:25 +00:00
Marc Boeren
a4abfc1953
Added Frank to the CREDITS for FrontBase support
...
Added dbx_fbsql.c to the Makefile.in
# Could someone please compile/test this? My Linux-box is down :(
# Win compiles just fine, I don't expext any trouble on Linux...
2001-08-08 08:48:32 +00:00
Marc Boeren
fdc3b548f5
Added extra entries for FrontBase support (Mc)
2001-08-08 08:44:41 +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
Marc Boeren
859339c1a7
It's been working here for four months now... hardly experimental :) (Mc)
2001-07-30 14:47:00 +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
Zeev Suraski
d87cc976e1
Redesigned thread safety mechanism - nua nua
2001-07-28 11:36:37 +00:00
Marc Boeren
2a661c6114
Added the error-message functionality (new in odbc module) (Mc)
2001-07-19 15:45:56 +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
d0fba81668
All files are now in Unix-linebreak mode (\n only). Somehow \r\n still
...
created problems with some cvs clients.
2001-06-20 11:30:47 +00:00
Marc Boeren
fa168d6b38
Changed username and password for pgsql in include file.
2001-06-15 13:25:44 +00:00
Marc Boeren
35f8d4cb44
Added a pgsql testdatabase create script (thanks Christian)
...
Fine-tuned some tests.
2001-06-15 12:43:15 +00:00
Marc Boeren
bfd1f986b1
Latest (minor) fixes: mssql, mysql and odbc now pass the testset correctly.
...
# I need a working setup to test pgsql with the test-set as well.
2001-06-13 13:35:17 +00:00
Marc Boeren
92eb51fde2
Fixed bug concerning mysql default_link that got freed too soon (Mc).
...
Added the test-case to te connect-test-file (Mc).
2001-06-12 15:32:22 +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
7567bf1862
Created a testset and a script to create a (mysql) database. This script
...
is easily modified to create other databases as well. The testset needs the
database, but it doesn't need to be a mysql database. Scripts to generate
other databases (with the same structure and data) would be appreciated.
2001-06-05 13:51:01 +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
a3d3819f6f
Forgot the Visual Studio project, added now (Mc)
...
Updated CREDITS (Mc)
2001-05-04 09:43:57 +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
e3770563fc
Added docs about creating dbx-support for other databases. (Mc)
2001-05-04 09:39:52 +00:00
Marc Boeren
e2c8e80e2b
Removed some old commented code (Mc)
2001-04-18 12:34:52 +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
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
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
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
Marc Boeren
10bb608e4e
Changed header for source files, now point to PHP license (Mc)
...
Found another // comment and replaced with /**/ (Mc)
Removed proprietary license (in favor of php license) (Mc)
Added .cvsignore file, I hope it works correctly (Mc)
2001-03-23 10:23:58 +00:00
Marc Boeren
49bc33395b
Changed C++ style comments to C-style comments (Marc)
...
#I hope I got 'em all
@Changed C++ style comments to C-style comments (Marc)
2001-03-22 15:14:34 +00:00
Marc Boeren
0f9503c923
no comment :)
2001-03-22 12:26:21 +00:00
Marc Boeren
ce79b44c27
Added dbx module (database abstraction) to the repositorty (/ext/dbx).
...
Compiles under Linux (--enable-dbx) and Windows.
Supports MySQL and ODBC modules (more to be added later).
@ Added dbx module (database abstraction) to the repository. (Marc)
2001-03-22 11:07:04 +00:00