Commit Graph

44 Commits

Author SHA1 Message Date
Kalle Sommer Nielsen
b2f1a3e865 Fixed ext/interbase build 2009-09-08 01:44:37 +00:00
Kalle Sommer Nielsen
ae087c341f MFB: Fixed bug #48189 (ibase_execute error in return param) 2009-07-25 23:39:21 +00:00
Marcus Boerger
d4f5b3f0a9 - This is PHP 6 - if this ... ever gets out 2009-03-10 23:40:06 +00:00
Ilia Alshanetsky
4124fd6f6b MFB: improved parameter handling 2009-01-11 23:52:48 +00:00
Sebastian Bergmann
7f4dc8702a Bump copyright year, 3 of 3. 2008-12-31 11:12:40 +00:00
Felipe Pena
0d181765d5 - New parameter parsing API 2008-11-27 02:16:56 +00:00
Felipe Pena
9dc4271531 - New parameter parsing API 2008-11-23 20:00:51 +00:00
Felipe Pena
82eaeb6bfe - Fixed bug #45373 (php crash on query with errors in params) 2008-10-06 14:28:29 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Dmitry Stogov
47dc82ecb9 Fixed bug #43128 (Very long class name causes segfault) 2007-11-22 13:33:53 +00:00
Lars Westermann
358eec9bcc MFB
- Fixed bug #30690: (Resource handle from ibase_execute becomes invalid after return)
- Fixed bug #30907: (ibase_query() crashes (in fact the same bug as #32143)
- Fixed bug #32143: (ibase_query() causing IBserver 7 crash with NULL param as link-id)
- Fixed bug #39056: (Interbase NUMERIC data type error)
- Fixed bug #39397: (invalid statement handle in Unknown on line 0)
- Fixed bug #39700: (NUMERIC error when result precision are 7,8 or 12-14)
- Fixed bug #42284: (duplicate of #39700)
- snprintf -> slprintf
2007-11-08 19:41:57 +00:00
Antony Dovgal
976a22df16 php_gmtime_r() fixes 2007-06-07 08:58:38 +00:00
Antony Dovgal
c281fca18c MFB: fix #40805 (Failure executing function ibase_execute()) 2007-03-16 09:30:18 +00:00
Marcus Boerger
20a40063c5 - avoid sprintf 2007-02-24 16:25:58 +00:00
Antony Dovgal
b784bacfc7 fix wrong param definition 2007-01-22 09:08:21 +00:00
Antony Dovgal
42b64219ea use snprintf() 2007-01-18 15:29:11 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Ilia Alshanetsky
2dbfe66e4a MFB: safety checks 2006-12-26 17:40:20 +00:00
Ilia Alshanetsky
204c32b760 MFB: Thread safety fixes. 2006-11-30 16:21:36 +00:00
Pierre Joye
bb1ec86f9d - remove magic_quotes_gpc, magic_quotes_runtime, magic_quotes_sybase
(calling ini_set('magic_....') returns 0|false
- get_magic_quotes_gpc, get_magic_quotes_runtime are kept but always return false
- set_magic_quotes_runtime raises an E_CORE_ERROR
2006-03-08 00:43:32 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Ard Biesheuvel
bb5ce07f8c Fixed return value of ibase_execute() 2004-11-10 11:21:50 +00:00
Ard Biesheuvel
1b4e0b81e3 Don't copy ini items to module globals
(fixed unregistered bug with mangled default_db setting)
2004-07-06 13:46:19 +00:00
Ilia Alshanetsky
d5fc8152f3 Eliminate potentially dangerous alloca(). 2004-07-04 17:13:58 +00:00
Ard Biesheuvel
16e2d61435 MFB Fixed bug #28897 (-1 returned as -0.000 for 64-bit scaled int) 2004-06-28 11:27:05 +00:00
Ard Biesheuvel
c84c5640e7 Revert 2004-06-12 20:52:07 +00:00
Ard Biesheuvel
39a690321a Added export macros 2004-06-12 02:49:47 +00:00
Ard Biesheuvel
39edbe5192 Don't be too strict if the number of binding arguments provided exceeds the expected number 2004-06-01 23:31:43 +00:00
Ard Biesheuvel
b027552ca3 Removed debugging code 2004-06-01 17:14:47 +00:00
Ard Biesheuvel
ff3a363d7a Use constant IBASE_CREATE instead of just 0 2004-06-01 08:38:33 +00:00
Ard Biesheuvel
3be22062fa Fix typo in error message 2004-05-31 13:43:06 +00:00
Ard Biesheuvel
e9125d6338 Improved handling of 'CREATE DATABASE ...' by ibase_query()
Improved param handling of ibase_query() and ibase_execute()
2004-05-31 13:40:25 +00:00
Ard Biesheuvel
fda04a0ed3 Restrict 'CREATE DATABASE' in sql safe mode 2004-05-30 20:40:36 +00:00
Ard Biesheuvel
17da85ba9b Fix Win32 build
Added missing 'break'
2004-05-30 20:24:46 +00:00
Ard Biesheuvel
18fa78842d Fix unregistered bug (segfault on uninitialised pointer)
Return string("0 ") from ibase_query() if query succeeded but did not affect any rows
2004-05-30 17:51:19 +00:00
Ard Biesheuvel
c6773a06cd Removed strcpy() call from most common case
Added test for hash index generation
2004-05-21 14:24:34 +00:00
Ard Biesheuvel
27c3c301bd Added test for duplicate field names when returning rows as hashes or objects
# This change should be in 5.0.0, as it might break BC
2004-05-21 13:46:04 +00:00
Ard Biesheuvel
8428d0088c Fixed a couple of inconsistencies in param binding
# Previously, empty strings were either rejected (for scaled integers)
# or silently converted to 0 (unscaled integers & floats). Also, in some
# cases, null zvals were converted to empty strings, which were
# consequently rejected as unconvertible values.
# In the new situation, empty strings will be handled as NULLs for
# fields that cannot distinguish between the two (numeric/date/time).
# Additionally, all range and value checking is now carried out by the
# database, so there is a consistent interface for error handling.
2004-05-12 15:16:51 +00:00
Ard Biesheuvel
afc9cb151b Dropped support for ancient Interbase versions (< 6)
# This has no consequences for Firebird, as its initial release was based on IB 6
2004-05-12 14:29:42 +00:00
Ard Biesheuvel
bfcc12ef78 Fix unregistered bug in zval pointer/array juggling
# Thinko: element of a **zval[] is usually not a *zval[]
# I can't believe this has gone undetected for 4+ years!
2004-05-07 15:11:07 +00:00
Ard Biesheuvel
18d9462a22 Fixed unregistered bug: array count is incorrect when binding array ids
Fixed unregistered bug: empty numeric/datetime param argument is coerced to
	a string that cannot be handled by the IB API layer
2004-05-05 22:18:35 +00:00
Ard Biesheuvel
d6838a86f3 ibase_query(): Be careful not to return true on error conditions 2004-05-04 12:42:54 +00:00
Ard Biesheuvel
18fa461119 More divide & conquer 2004-04-05 13:22:34 +00:00