Felipe Pena
4e19825281
- Year++
2012-01-01 13:15:04 +00:00
Pierre Joye
9805e1674a
- remove magic quotes support, functions are kept (see the NEWS entry for the details) for BC reasons but do not allow to set enable MQ
2011-07-22 11:25:30 +00:00
Popa Adrian Marius
90737c19e2
Fix for bug http://bugs.php.net/54426
...
Checks for NULL are wrong as the values can be provided by the triggers
2011-07-19 20:23:26 +00:00
Felipe Pena
0203cc3d44
- Year++
2011-01-01 02:17:06 +00:00
Pierre Joye
aa0ed267a2
- use TSRMLS_*C instead of TSRMLS_FETCH in zend_list_insert
2010-09-16 09:13:19 +00:00
Sebastian Bergmann
9ba1e81665
sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
2010-01-03 09:23:27 +00:00
Kalle Sommer Nielsen
310bfadf3c
Fixed bug #48189 (ibase_execute error in return param)
2009-07-25 23:37:47 +00:00
Ilia Alshanetsky
2bcdd36879
Improved parameter handling
2009-01-11 23:52:29 +00:00
Sebastian Bergmann
08659c2dcd
MFH: Bump copyright year, 3 of 3.
2008-12-31 11:15:49 +00:00
Felipe Pena
d5bb19938d
- MFH: New parameter parsing API
2008-11-27 02:17:22 +00:00
Felipe Pena
65cfb01eaa
- MFH: New parameter parsing API
2008-11-23 20:01:21 +00:00
Felipe Pena
0af1239a82
- MFH: Fixed bug #45373 (php crash on query with errors in params)
2008-10-06 14:33:34 +00:00
Sebastian Bergmann
d1dded8751
MFH: Bump copyright year, 2 of 2.
2007-12-31 07:17:19 +00:00
Dmitry Stogov
648fbe9d58
Fixed bug #43128 (Very long class name causes segfault)
2007-11-22 13:27:13 +00:00
Lars Westermann
b15f2feda8
Win32 still fails to build ...
2007-11-20 21:36:20 +00:00
Lars Westermann
e077331077
Win32 fails to build
2007-11-20 19:58:39 +00:00
Lars Westermann
b599957076
[DOC] prototype for ibase_query() should be changed to:
...
PHP4:
resource ibase_query ( [resource $link_identifier,] string $query [, mixed $bind_arg [, ...]] )
PHP5:
resource ibase_query ( [resource $link_identifier,] [resource $transaction_identifier,] string $query [, mixed $bind_arg [, ...]] )
prototype for ibase_prepare() should be changed to:
PHP4:
resource ibase_prepare ( [resource $link_identifier,] string $query )
PHP5:
resource ibase_prepare ( [resource $link_identifier,] [resource $transaction_identifier,] string $query )
prototype for ibase_execute() should be changed to:
mixed ibase_execute ( resource $query, [, mixed $bind_arg [, ...]] )
- 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 )
2007-11-08 19:16:27 +00:00
Antony Dovgal
d042fd0675
MFH: php_gmtime_r() fixes
2007-06-07 08:59:00 +00:00
Antony Dovgal
6a45f716ae
fix #40805 (Failure executing function ibase_execute())
2007-03-15 22:33:04 +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
a4ae84d014
MFH
2007-01-22 09:08:28 +00:00
Antony Dovgal
c592304ac0
MFH: use snprintf()
2007-01-18 15:29:30 +00:00
Sebastian Bergmann
4223aa4d5e
MFH: Bump year.
2007-01-01 09:36:18 +00:00
Ilia Alshanetsky
7efb0a14f4
Use safe_emalloc()
2006-12-25 21:41:04 +00:00
Ilia Alshanetsky
c69555b948
Thread safety fixes.
2006-11-30 16:21:24 +00:00
foobar
5bd93221a8
bump year and license version
2006-01-01 12:51:34 +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