Pavel Zelezny
2277896109
Oracle use double quotes for escaping
2015-01-13 05:53:54 +01:00
Rossler Jan
f9c9003fc1
PostgreSQL: fixed identifier escaping in reflection.
2015-01-13 05:53:53 +01:00
Ondrej Brablc
d75e605645
Avoid error handler invocation
2014-05-13 17:01:34 +02:00
David Grudl
fa5b7678f4
phpDoc simplified & typos
2014-05-13 17:01:23 +02:00
David Grudl
d04eb76abb
typos & whitespace
2013-10-16 21:37:26 +02:00
David Grudl
1382a1021f
all file names correspond with class name
2013-06-22 18:29:35 +02:00
jasir
849b9b66fa
Firebird driver: getRowCount throws NotSupportedException
2013-06-11 17:56:52 +02:00
David Grudl
cbdcc3f832
Merge pull request #85 from foglcz/bug-84
...
Throw entire callstack for interbase-based databases.
2013-04-11 02:39:31 -07:00
Pavel Ptacek
9b4d58878c
Throw entire callstack for interbase-based databases. The errors given by firebird are multiline, exceptions get thrown from inside the logic. (.*) matches everything up until first line by default - this mitigates the problem and mathes the entire rest of the string (= including multilines)
2013-04-11 04:51:09 +02:00
Miloslav Hůla
0ebe7ad84f
DibiMsSql2005Driver: fixed identifier escaping
...
Annoted link to MS SQL doc does not talk about open bracket '[' escaping, only closing bracket ']'.
dibi::query('CREATE TABLE %n (id INT)', 'abc[]def');
- old: creates table 'abc[[]def'
- new: creates table 'abc[]def'
2013-04-10 12:08:11 +02:00
Miloslav Hůla
4ea885f2b9
DibiPdoDriver: added identifier escaping for sqlsrv
2013-04-10 12:08:11 +02:00
Miloslav Hůla
3634673ffa
DibiPdoDriver: applyLimit() for sqlsrv driver
...
Added table alias has been tested with MS SQL Server 2012 directly and over ODBC.
2013-04-10 12:08:10 +02:00
Miloslav Hůla
8e5898a11b
DibiMsSql2005Driver: default charset set to UTF-8
...
If charset is not specified in config, NULL is passed as connection option and 'Invalid value type for option CharacterSet was specified. String type was expected.' is thrown.
2013-04-10 12:07:27 +02:00
David Grudl
d09fc7d837
MySQLI: mysqli_affected_rows() returns -1 on error [ Closes #80 ]
2013-04-03 13:57:48 +02:00
Filip Procházka
cbca529ff8
PdoDriver: fix notice undefined index native_type
2013-03-01 17:31:21 +01:00
Daniel Kouba
9001afe7ca
MSSQL2005 driver: autoincrement determination fixed
2012-12-30 02:56:21 +01:00
Daniel Kouba
16b254fce1
MSSQL2005 applyLimit fixed
...
Conflicts:
dibi/drivers/mssql2005.php
dibi/drivers/mssql2005.reflector.php
2012-12-16 23:42:09 +01:00
Daniel Kouba
188acf1f76
Column size is string or NULL
...
Issue #74
2012-12-11 15:09:21 +01:00
David Grudl
d09e490f1b
reflectors: table names are correctly escaped
2012-12-04 14:35:53 +01:00
David Grudl
b4de8daed3
fixed invalid escaping sequences in double quoted strings, used \z instead of $
2012-12-04 14:15:31 +01:00
Daniel Kouba
7696fc36e1
Added MSSQL 2005 Reflector
2012-12-04 14:15:26 +01:00
Jakub Krčma
927fc858d2
MySQL & MySQLi: added timezone configuration option
2012-10-03 21:13:03 +02:00
Jirka Chadima
f355b8ede7
Allow forcing a persistent connection via driver configuration
2012-08-28 15:38:12 +02:00
Miloslav Hůla
4be92b62f8
typos
2012-02-06 13:55:40 +01:00
Miloslav Hůla
52986705d8
Fix DibiMsSql2005Driver::getResultColumns()
2012-02-06 13:43:17 +01:00
David Grudl
5aed9e7e4f
MSSQL2005: used native functions for transaction
2012-01-21 16:58:56 +01:00
David Grudl
5d41128752
calling getResultResource() disables auto-free in __destruct()
2012-01-19 04:23:00 +01:00
David Grudl
5efb11d780
DibiMysqlDriver & DibiPostgreSql: escape() checks if resource is alive [ Closes #46 ]
2012-01-19 04:21:09 +01:00
David Grudl
660a9db522
drivers: getResource() and getResultResource() checks if resource is alive
2012-01-19 04:20:57 +01:00
Steven Bredenberg
9bc53109a0
Adding reflector code for MSSQL.
2012-01-12 00:16:22 +01:00
Radek Dostál
3288b38b6c
Implemented escapeLike() for Oracle driver
2012-01-12 00:06:39 +01:00
Miloslav Hůla
96d7236a4a
Implemented getForeignKeys() for PostgreSQL driver
2012-01-03 13:57:37 +01:00
David Grudl
d1a63ce757
FireBird driver: implemented getResultColumns()
2012-01-03 05:34:56 +01:00
David Grudl
dbb72b769b
updated phpDoc @package
2012-01-03 04:50:11 +01:00
David Grudl
1d4e86fe2b
Updated copyright notices for 2012
2012-01-03 04:17:30 +01:00
David Grudl
ac1f45b397
updated for Nette 2.0 beta: exceptions
2011-07-01 08:19:15 +02:00
Miloslav Hůla
b979295baa
implemented escapeLike() for PostgreSQL driver
2011-03-10 14:33:34 +01:00
David Grudl
60b62c50fe
MySQLi driver: added support for persistent connection [ Closes #27 ]
2011-02-02 22:39:52 +01:00
David Grudl
23e3ba6db4
PDO driver: getReflector() is implemented for MySQL and SQLite
2011-02-02 20:36:54 +01:00
David Grudl
bdb5b217c7
License changed to the New BSD License or the GNU General Public License (GPL) version 2 or 3.
2011-02-02 01:20:30 +01:00
David Grudl
018b9da06d
used NotSupportedException at appropriate places
2011-01-25 18:23:30 +01:00
David Grudl
e0d110962e
MSSQL2005 driver: added alias charset -> options|CharacterSet
2011-01-25 17:37:35 +01:00
David Grudl
ec82eda864
DibiResult destructor moved to individual IDibiResultDriver drivers
2010-11-02 14:42:15 +01:00
David Grudl
087734fb23
drivers implementing IDibiDriver and IDibiResultDriver together do not use $resultSet in IDibiDriver part
2010-11-02 14:42:14 +01:00
David Grudl
32baabdeac
added low-level methods createResultDriver() and DibiConnection::createResultSet()
2010-11-02 13:59:05 +01:00
David Grudl
36fe9d42c1
PcreException renamed to DibiPcreException
2010-10-25 16:16:38 +02:00
David Grudl
0c4f343238
Firebird driver: added missing getReflector()
2010-10-06 16:17:29 +02:00
David Grudl
e6e7babe22
simplified phpDoc comments
2010-09-14 19:09:56 +02:00
David Grudl
b1156e54d8
drivers meta function refactoring
2010-08-27 02:18:07 +02:00
David Grudl
b8e518f44b
implemented escapeLike() and modifiers %~like, %like~, %~like~
2010-08-27 01:00:53 +02:00