1
0
mirror of https://github.com/dg/dibi.git synced 2025-10-23 02:36:04 +02:00
Files
php-dibi/examples/log.sql
David Grudl 48ea525b04 * DibiDriver::query -> DibiDriver::nativeQuery
* Dibi::query moved to DibiDriver::query
* methods getFields(), detectTypes(), getMetaData() moved to base class DibiDriver
* added PDO driver (not tested)
2007-03-27 23:12:36 +00:00

141 lines
5.9 KiB
SQL

OK: connected to DB 'mysql'
OK: SELECT * FROM `mytable` WHERE `inumber` = 38;
-- result: object(DibiMySqlResult) rows: 0
-- takes: 1.109 ms
-- 2007-02-02 04:38:34
OK: SELECT * FROM `mytable` WHERE `inumber` < 38;
-- result: object(DibiMySqlResult) rows: 12
-- takes: 1.492 ms
-- 2007-02-02 04:38:34
ERROR: [1064] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM `mytable` WHERE `inumber` < 38' at line 1
-- SQL: SELECT FROM `mytable` WHERE `inumber` < 38;
-- 2007-02-02 04:38:34
ERROR: [1064] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM `mytable` WHERE `inumber` < 38' at line 1
-- SQL: SELECT FROM `mytable` WHERE `inumber` < 38;
-- 2007-02-02 04:38:34
OK: connected to DB 'mysql'
OK: SELECT * FROM `mytable` WHERE `inumber` = 38;
-- result: object(DibiMySqlResult) rows: 0
-- takes: 1.565 ms
-- 2007-02-02 04:47:37
OK: SELECT * FROM `mytable` WHERE `inumber` < 38;
-- result: object(DibiMySqlResult) rows: 12
-- takes: 1.347 ms
-- 2007-02-02 04:47:37
ERROR: [1064] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM `mytable` WHERE `inumber` < 38' at line 1
-- SQL: SELECT FROM `mytable` WHERE `inumber` < 38;
-- 2007-02-02 04:47:37
ERROR: [1064] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM `mytable` WHERE `inumber` < 38' at line 1
-- SQL: SELECT FROM `mytable` WHERE `inumber` < 38;
-- 2007-02-02 04:47:37
OK: connected to DB 'mysql'
OK: SELECT * FROM `mytable` WHERE `inumber` = 38;
-- result: object(DibiMySqlResult) rows: 0
-- takes: 1.147 ms
-- 2007-02-02 04:47:56
OK: SELECT * FROM `mytable` WHERE `inumber` < 38;
-- result: object(DibiMySqlResult) rows: 12
-- takes: 1.085 ms
-- 2007-02-02 04:47:56
ERROR: [1064] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM `mytable` WHERE `inumber` < 38' at line 1
-- SQL: SELECT FROM `mytable` WHERE `inumber` < 38;
-- 2007-02-02 04:47:56
ERROR: [1064] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM `mytable` WHERE `inumber` < 38' at line 1
-- SQL: SELECT FROM `mytable` WHERE `inumber` < 38;
-- 2007-02-02 04:47:57
OK: connected to DB 'mysql'
OK: SELECT * FROM `mytable` WHERE `inumber` = 38;
-- result: object(DibiMySqlResult) rows: 0
-- takes: 0.944 ms
-- 2007-02-02 04:48:23
OK: SELECT * FROM `mytable` WHERE `inumber` < 38;
-- result: object(DibiMySqlResult) rows: 12
-- takes: 1.258 ms
-- 2007-02-02 04:48:23
ERROR: [1064] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM `mytable` WHERE `inumber` < 38' at line 1
-- SQL: SELECT FROM `mytable` WHERE `inumber` < 38;
-- 2007-02-02 04:48:23
ERROR: [1064] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM `mytable` WHERE `inumber` < 38' at line 1
-- SQL: SELECT FROM `mytable` WHERE `inumber` < 38;
-- 2007-02-02 04:48:23
OK: connected to DB 'mysql'
OK: SELECT * FROM `mytable` WHERE `inumber` = 38;
-- result: object(DibiMySqlResult) rows: 0
-- takes: 1.039 ms
-- 2007-02-02 04:50:46
OK: SELECT * FROM `mytable` WHERE `inumber` < 38;
-- result: object(DibiMySqlResult) rows: 12
-- takes: 1.499 ms
-- 2007-02-02 04:50:46
ERROR: [1064] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM `mytable` WHERE `inumber` < 38' at line 1
-- SQL: SELECT FROM `mytable` WHERE `inumber` < 38;
-- 2007-02-02 04:50:46
ERROR: [1064] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM `mytable` WHERE `inumber` < 38' at line 1
-- SQL: SELECT FROM `mytable` WHERE `inumber` < 38;
-- 2007-02-02 04:50:46
OK: connected to DB 'mysql'
OK: SELECT * FROM `mytable` WHERE `inumber` = 38;
-- result: object(DibiMySqlResult) rows: 0
-- takes: 1.518 ms
-- 2007-03-28 00:45:27
OK: SELECT * FROM `mytable` WHERE `inumber` < 38;
-- result: object(DibiMySqlResult) rows: 12
-- takes: 6.385 ms
-- 2007-03-28 00:45:27
ERROR: [1064] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM `mytable` WHERE `inumber` < 38' at line 1
-- SQL: SELECT FROM `mytable` WHERE `inumber` < 38;
-- 2007-03-28 00:45:27
ERROR: [1064] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM `mytable` WHERE `inumber` < 38' at line 1
-- SQL: SELECT FROM `mytable` WHERE `inumber` < 38;
-- 2007-03-28 00:45:27
OK: connected to DB 'mysql'
OK: SELECT * FROM `mytable` WHERE `inumber` = 38;
-- result: object(DibiMySqlResult) rows: 0
-- takes: 1.124 ms
-- 2007-03-28 01:06:07
OK: SELECT * FROM `mytable` WHERE `inumber` < 38;
-- result: object(DibiMySqlResult) rows: 12
-- takes: 1.607 ms
-- 2007-03-28 01:06:07
ERROR: [1064] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM `mytable` WHERE `inumber` < 38' at line 1
-- SQL: SELECT FROM `mytable` WHERE `inumber` < 38;
-- 2007-03-28 01:06:07
ERROR: [1064] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM `mytable` WHERE `inumber` < 38' at line 1
-- SQL: SELECT FROM `mytable` WHERE `inumber` < 38;
-- 2007-03-28 01:06:07