Commit Graph

87 Commits

Author SHA1 Message Date
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