mirror of
https://github.com/dg/dibi.git
synced 2025-08-01 11:50:15 +02:00
* DibiDriver::query -> DibiDriver::nativeQuery
* Dibi::query moved to DibiDriver::query * methods getFields(), detectTypes(), getMetaData() moved to base class DibiDriver * added PDO driver (not tested)
This commit is contained in:
224
examples/log.sql
224
examples/log.sql
@@ -1,84 +1,140 @@
|
||||
SELECT * FROM `*nucleus_item` WHERE `inumber` < 38;
|
||||
-- Result: Query error: Can't find file: '.\test\*nucleus_item.frm' (errno: 22)
|
||||
-- Takes: 178.920 ms
|
||||
|
||||
|
||||
|
||||
Successfully connected to DB 'mysql'
|
||||
|
||||
Query error: Table 'test.nucleus_item' doesn't exist
|
||||
|
||||
SELECT * FROM `nucleus_item` WHERE `inumber` = 38;
|
||||
-- Result: Query error: Table 'test.nucleus_item' doesn't exist
|
||||
-- Takes: 2.527 ms
|
||||
|
||||
|
||||
|
||||
Query error: Table 'test.nucleus_item' doesn't exist
|
||||
|
||||
SELECT * FROM `nucleus_item` WHERE `inumber` < 38;
|
||||
-- Result: Query error: Table 'test.nucleus_item' doesn't exist
|
||||
-- Takes: 3.806 ms
|
||||
|
||||
|
||||
|
||||
Query error: Can't find file: '.\test\*nucleus_item.frm' (errno: 22)
|
||||
|
||||
SELECT * FROM `*nucleus_item` WHERE `inumber` < 38;
|
||||
-- Result: Query error: Can't find file: '.\test\*nucleus_item.frm' (errno: 22)
|
||||
-- Takes: 5.017 ms
|
||||
|
||||
|
||||
|
||||
Successfully connected to DB 'mysql'
|
||||
|
||||
Query error: Table 'test.nucleus_item' doesn't exist
|
||||
|
||||
SELECT * FROM `nucleus_item` WHERE `inumber` = 38;
|
||||
-- Result: Query error: Table 'test.nucleus_item' doesn't exist
|
||||
-- Takes: 4.560 ms
|
||||
|
||||
|
||||
|
||||
Query error: Table 'test.nucleus_item' doesn't exist
|
||||
|
||||
SELECT * FROM `nucleus_item` WHERE `inumber` < 38;
|
||||
-- Result: Query error: Table 'test.nucleus_item' doesn't exist
|
||||
-- Takes: 2.001 ms
|
||||
|
||||
|
||||
|
||||
Query error: Can't find file: '.\test\*nucleus_item.frm' (errno: 22)
|
||||
|
||||
SELECT * FROM `*nucleus_item` WHERE `inumber` < 38;
|
||||
-- Result: Query error: Can't find file: '.\test\*nucleus_item.frm' (errno: 22)
|
||||
-- Takes: 39.903 ms
|
||||
|
||||
|
||||
|
||||
Successfully connected to DB 'mysql'
|
||||
|
||||
Query error: Table 'test.nucleus_item' doesn't exist
|
||||
|
||||
SELECT * FROM `nucleus_item` WHERE `inumber` = 38;
|
||||
-- Result: Query error: Table 'test.nucleus_item' doesn't exist
|
||||
-- Takes: 2.183 ms
|
||||
|
||||
|
||||
|
||||
Query error: Table 'test.nucleus_item' doesn't exist
|
||||
|
||||
SELECT * FROM `nucleus_item` WHERE `inumber` < 38;
|
||||
-- Result: Query error: Table 'test.nucleus_item' doesn't exist
|
||||
-- Takes: 2.513 ms
|
||||
|
||||
|
||||
|
||||
Query error: Can't find file: '.\test\*nucleus_item.frm' (errno: 22)
|
||||
|
||||
SELECT * FROM `*nucleus_item` WHERE `inumber` < 38;
|
||||
-- Result: Query error: Can't find file: '.\test\*nucleus_item.frm' (errno: 22)
|
||||
-- Takes: 5.509 ms
|
||||
|
||||
|
||||
|
||||
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
|
||||
|
||||
|
Reference in New Issue
Block a user