Commit Graph

160 Commits

Author SHA1 Message Date
Popa Adrian Marius
ddf95da798 added test for PDO_Firebird: bug 48877 2011-12-27 10:49:03 +00:00
Popa Adrian Marius
c55f9258b9 bug fixed #48877 - bindValue and bindParam do not work for PDO Firebird 2011-12-10 22:09:59 +00:00
Popa Adrian Marius
74343ca506 bug fixed #48877 - bindValue and bindParam do not work for PDO Firebird 2011-12-10 22:04:23 +00:00
Popa Adrian Marius
f86bd3407b fix gcov Warning: ibase_drop_db(): lock time-out on wait transaction object 2011-09-12 13:43:42 +00:00
Popa Adrian Marius
13b1e46370 fix warning Warning: ibase_drop_db(): lock time-out on wait transaction object 2011-09-12 13:41:28 +00:00
Popa Adrian Marius
c845e06541 extension is not experimental anymore
see the status http://www.gn0s1s.nl/?p=108
2011-09-11 22:11:30 +00:00
Felipe Pena
997f323e3a - Added ZEND_MOD_END macro to use in the end of zend_module_dep[] 2011-08-06 14:47:44 +00:00
Felipe Pena
707a8f70b8 - Added ZEND_MOD_END macro to use in the end of zend_module_dep[] 2011-08-06 14:47:44 +00:00
Felipe Pena
23e438594d - Make usage of new PHP_FE_END macro 2011-07-25 11:42:53 +00:00
Felipe Pena
4b30846b50 - Make usage of new PHP_FE_END macro 2011-07-25 11:35:02 +00:00
Felipe Pena
f7ee12e928 - Fixed two "jump or move depends on uninitialised value" 2011-06-17 02:00:20 +00:00
Felipe Pena
0a7292087c - Fixed two "jump or move depends on uninitialised value" 2011-06-17 02:00:20 +00:00
Rasmus Lerdorf
d257aa42ff Oops, can't cache it here because it won't work
in autoconf2.13 and we still support that version
in this branch
2011-05-15 05:49:34 +00:00
Rasmus Lerdorf
8e256774b0 Cache the PDO include path 2011-05-15 05:24:34 +00:00
Rasmus Lerdorf
78a15091f9 Cache the pdo include path 2011-05-15 05:03:29 +00:00
Felipe Pena
927bf09c29 - Year++ 2011-01-01 02:19:59 +00:00
Felipe Pena
0203cc3d44 - Year++ 2011-01-01 02:17:06 +00:00
Felipe Pena
932408b413 - Fixed bug #53335 (pdo_firebird did not implement rowCount())
patch by: preeves at ibphoenix dot com
2010-11-18 01:24:00 +00:00
Felipe Pena
e516b7a964 - Fixed bug #53335 (pdo_firebird did not implement rowCount())
patch by: preeves at ibphoenix dot com
2010-11-18 01:24:00 +00:00
Felipe Pena
49493e226d - Fixed bug #53323 (pdo_firebird getAttribute() crash)
patch by: preeves at ibphoenix dot com
2010-11-16 21:02:14 +00:00
Felipe Pena
f774e7dbed - Fixed bug #53323 (pdo_firebird getAttribute() crash)
patch by: preeves at ibphoenix dot com
2010-11-16 21:02:14 +00:00
Pierre Joye
f6b3d22218 - allow firebird header to be in the normal deps directory and restore firebird support on win (5.3.4+) 2010-11-14 22:40:30 +00:00
Pierre Joye
0af01dc7a5 - allow firebird header to be in the normal deps directory and restore firebird support on win (5.3.4+) 2010-11-14 22:40:30 +00:00
Ilia Alshanetsky
d2e14e3f20 Fixed bug #50728 (All PDOExceptions hardcode 'code' property to 0) 2010-01-12 12:46:54 +00:00
Sebastian Bergmann
9ba1e81665 sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +00:00
Rasmus Lerdorf
937358ebc7 Revert attempt at supporting both autoconf 2.13 and
modern versions in the same build chain.  There are
simply too many broken things in 2.13 to make it work.
Cache handling is broken as well which is why I need
to revert the pdo_inc_path cache fix as well.

trunk is now 2.60+ only and I'll work on cleaning out
all the legacy cruft from there.
2009-11-29 06:13:22 +00:00
Rasmus Lerdorf
5a2b41a627 Someone strap down Jani and give him a sedative please.
This makes our toolchain work with the latest versions
of autoconf and avoids a lot of end-user grief.
2009-11-25 01:30:06 +00:00
Felipe Pena
00054412e4 - Fixed bug #48057 (Only the date fields of the first row are fetched, others are empty)
patch by: info at programmiernutte dot net
2009-07-20 00:17:24 +00:00
Felipe Pena
2507033c79 - Fixed bug #48980 (Crash when compiling with pdo_firebird) 2009-07-19 23:33:50 +00:00
Nuno Lopes
79a9229772 fix compilation of pdo_firebird and intl extension with ld --as-needed 2009-05-23 13:52:00 +00:00
Felipe Pena
0c6cf02985 - MFH: Fix build 2009-04-18 18:56:11 +00:00
Ilia Alshanetsky
7fef2270b0 Fixed compiler warning 2009-04-16 22:14:28 +00:00
Felipe Pena
20e94a4b5c - Fixed bug #47398 (PDO_Firebird doesn't implements quoter correctly) 2009-02-15 21:51:00 +00:00
Felipe Pena
1648372015 - MFH: Fix test 2009-02-09 12:56:00 +00:00
Felipe Pena
efdaaa3f59 - MFH: Fix mem. leak 2009-02-09 12:07:23 +00:00
Felipe Pena
fcfcacefc9 - MFH: Fixed test 2009-02-09 11:57:44 +00:00
Sebastian Bergmann
08659c2dcd MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
Jani Taskinen
281352fe02 MFH: Fix PDO configure dependancy: If --disable-pdo is used, disable all
MFH: enabled-by-default drivers. Also error out if you try to configure
MFH: a driver as static but pdo is disabled.
2008-07-25 13:46:24 +00:00
Antony Dovgal
0cd1f90e29 blind fix for a segfault in ext/pdo_firebird/tests/bug_38253.phpt 2008-07-13 10:55:50 +00:00
Nuno Lopes
61eb7ae554 remove unused PHP_EXTNAME_API macros.
#in preparation for the gcc 4 visibility patch
2008-01-03 16:20:33 +00:00
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Lars Westermann
b51708cdf4 - Fixed bug #43246 (firebird: INSERT ... RETURNING ... throws exception)
#Reworked cursor_open/cursor_close
#Only using isc_dsl_execute() (as in ext/interbase)
Thanks to Hans-Peter Oeri for providing this patch
2007-11-19 21:55:30 +00:00
Lars Westermann
204d70e13d - Fixed bug (again) #43271 (pdo_firebird: closeCursor not implemented) 2007-11-16 12:27:49 +00:00
Lars Westermann
8ff1923fb5 - Fixed bug #43244 (firebird: closeCursor w/o returned data kills process) 2007-11-15 00:25:37 +00:00
Lars Westermann
9d4daba929 - Fixed bug #43296 (Feature req: pdo_firebird: ATTR_FETCH_TABLE_NAMES support) 2007-11-15 00:10:38 +00:00
Lars Westermann
35272a63cd # Also nulling cursor_open when closing a named cursor 2007-11-14 23:19:29 +00:00
Lars Westermann
9864e08ab5 - Clearing cursor-name when closing it. 2007-11-14 22:15:21 +00:00
Lars Westermann
32eece4bcb - Fixed bug #43271 (pdo_firebird: closeCursor not implemented)
# Actually firebird_stmt_execute() didn't close a previously opened cursor, but implemented closeCursor anyway.
2007-11-14 22:09:21 +00:00
Lars Westermann
4b4a5e051c # Removed dead code
- Fixed bug #35386 (firebird: first row is null)
- Fixed bug #36128 (Interbase PDO - timestamp columns return NULL)
- Fixed bug #39700 (NUMERIC error when result precision are 7,8 or 12-14 )
2007-10-30 16:31:41 +00:00
Lars Westermann
9d2b9dd20e - Added 3 firebird specific attributes to firebird_handle_set_attribute()
- function. They control formatting of date/timestamp columns.
- pdo_firebird_handle_factory() now throwing an execption if unable to attach
- database (bug reports 39822 and 41522)
- Fixed bug #39822 (new PDO() doesn't work with firebird)
- Fixed bug #41522 (PDO firebird driver returns null if it fails to connect)
2007-10-30 16:30:40 +00:00
Lars Westermann
aa6c5a81f9 [DOC] Added 3 firebird specific attributes that can be set via
PDO::setAttribute() to control formatting of date/timestamp columns:
PDO::FB_ATTR_DATE_FORMAT, PDO::FB_ATTR_TIME_FORMAT and
PDO::FB_ATTR_TIMESTAMP_FORMAT.  These attributes are strftime
format strings, and operate in the same way as the ibase.dateformat,
ibase.timeformat and ibase.timestampformat ini options.
(related to bug #36128, Interbase PDO)
2007-10-30 16:28:47 +00:00
Lars Westermann
1ac482c84b - Added default timestamp format definitions (ISO 8601) (related to bug #36128, Interbase PDO) 2007-10-30 16:26:25 +00:00
Dmitry Stogov
6c810b0d4c Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:00:48 +00:00
Jani Taskinen
8af7bc2044 MFH: Fix some lib vs $PHP_LIBDIR issues 2007-07-31 13:02:00 +00:00
foobar
7ed3c4536d MFH: Fix some configure --help texts 2007-07-03 17:25:43 +00:00
Ilia Alshanetsky
efad70c2cc snprintf() -> slprintf() 2007-02-27 03:28:17 +00:00
Ilia Alshanetsky
cc04404b28 snprintf() -> slprintf()
# Part 1
2007-02-27 03:04:40 +00:00
Ilia Alshanetsky
9783f5f1f3 strncpy() -> strlcpy() 2007-02-24 18:00:56 +00:00
Marcus Boerger
50ea26760d - Avoid sprintf, even when checked copy'n'paste or changes lead to errors 2007-02-24 02:17:47 +00:00
Antony Dovgal
5f12c71382 MFH 2007-01-18 15:55:09 +00:00
Ilia Alshanetsky
7d901eacbe %f -> %F 2007-01-05 15:06:55 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Ilia Alshanetsky
c7d84b7451 Fixed compiler warnings 2006-11-16 17:33:39 +00:00
Edin Kadribasic
bbf97549b8 Remove pecl includes (Steph), except pdo_odbc which will remain broke 2006-05-11 21:43:59 +00:00
Wez Furlong
30f98ae77b set min pdo dep to 1.0.3, which will be the new pecl release 2006-05-02 02:43:11 +00:00
foobar
5bd93221a8 bump year and license version 2006-01-01 12:51:34 +00:00
Marcus Boerger
85a261bb85 - MFH Fix tests 2005-12-11 14:50:29 +00:00
foobar
3e669bc950 MFH: nuke php3 legacy 2005-12-06 02:28:41 +00:00
Wez Furlong
17683295e4 switch to package2.xml 2005-12-04 22:34:26 +00:00
Wez Furlong
77d3a41f8a update package.xml files and version numbers, in anticipation of a big bunch of releases. 2005-09-11 05:27:30 +00:00
Wez Furlong
e53f6428ac merge George's fixes back from HEAD 2005-09-11 01:42:41 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Wez Furlong
9d37c58059 use new tests 2005-07-07 15:33:06 +00:00
foobar
15cf2a60b0 - Added PHP_CHECK_PDO_INCLUDES macro (caches the result) 2005-06-14 00:00:53 +00:00
foobar
a20383ba06 - Unify the "configure --help" texts 2005-05-29 23:17:16 +00:00
foobar
0e57528666 No c++ comments in C code 2005-04-19 11:41:04 +00:00
Magnus M��tt�
e65d57535f Add tests for firebird. 2005-03-10 02:43:44 +00:00
Rasmus Lerdorf
99f832a206 If pdo is disabled, skip all the pdo extensions. 2005-02-28 08:18:47 +00:00
Ard Biesheuvel
b9b03a7feb Added search for libfbclient 2005-02-23 17:44:22 +00:00
Ard Biesheuvel
bafbe90392 Fixed PECL bug #3527: Missing quotation marks in php_pdo_firebird_int.h 2005-02-21 13:57:02 +00:00
Wez Furlong
55f53a5a96 symlinked pdo drivers under ext.
Enabled PDO and PDO_SQLITE by default.
Fixup PDO header detection so that it searches in the correct order, and
correctly picks up the headers when building from outside of the source
tree.

TODO: make pdo_XXX auto-enable when XXX is enabled.  Volunteers welcome.
2005-02-17 04:23:15 +00:00
Wez Furlong
dbaa3bfdfa hope it works! 2005-02-09 05:26:38 +00:00
Wez Furlong
3047ced496 prep for possible release 2005-02-09 05:00:58 +00:00
Wez Furlong
ae5958570b update 2005-02-07 01:21:58 +00:00
Wez Furlong
61981912f8 hmmm 2005-02-06 23:58:53 +00:00
Wez Furlong
d87c5ec288 update for api changes 2005-02-06 22:34:53 +00:00
Wez Furlong
26f97a911b Eliminate unused parameter.
Don't start a transaction when asking for a cursor with pgsql.
Fix parameter binding for sqlite3
2005-01-21 00:39:03 +00:00
Wez Furlong
9b36089838 let it compile again 2005-01-19 00:33:56 +00:00
Wez Furlong
a9d98544de Allow drivers to select bind emulation on a per statement basis 2005-01-18 04:58:50 +00:00
Wez Furlong
10eb5a1098 fix compile.
Someone with firebird needs to sit down and give this extension some love
2005-01-13 18:02:13 +00:00
Wez Furlong
222e5f9cbc stub out scrollable cursors here too 2005-01-12 06:12:26 +00:00
Wez Furlong
4486666209 half-update for sqlstate error codes 2005-01-07 05:23:48 +00:00
Wez Furlong
72040f7f2a more method table adjustments.
mysql driver needs work with the error message stuff.
Other drivers need a bit more auditing...
2004-09-23 20:43:11 +00:00
Ard Biesheuvel
dc701bfdab Changed name to all caps 2004-06-23 13:42:06 +00:00
Ard Biesheuvel
391cbac1f2 Return all results as strings until I can convince the other guys that
it should be otherwise
2004-06-23 13:26:09 +00:00
Ard Biesheuvel
350e5aa862 Refactored statement allocation
Added emulated support for named input parameters
2004-06-15 14:16:22 +00:00
Ard Biesheuvel
2cc63714a0 Added support for fetching and binding to blob fields 2004-06-14 10:56:49 +00:00
Ard Biesheuvel
2b21476207 Release isc statement handle when dtor is called
Don't separate() bound zvals
2004-06-13 23:24:31 +00:00
Ard Biesheuvel
e1519d6f17 GCC fixes 2004-06-12 22:17:16 +00:00
Ard Biesheuvel
6b3cda310a Added client/server info attributes 2004-06-12 18:56:07 +00:00