001+ Warning: PDO::exec(): SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected in /home/tpearson/Database/src/php-5.4.16/ext/pdo_mysql/tests/mysql_pdo_test.inc on line 39
002+
003+ Warning: PDO::exec(): SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected in /home/tpearson/Database/src/php-5.4.16/ext/pdo_mysql/tests/mysql_pdo_test.inc on line 40
004+
001- Warning: PDO::exec(): SQLSTATE[42000]: Syntax error or access violation: 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 'THIS IS NOT VALID SQL, I HOPE' at line 1 in %s on line %d
002- [016] [42000] 42000 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 'THIS IS NOT VALID SQL, I HOPE' at line %d
003- [035] With emulated PS it works but makes no sense given that exec() returns sort of affected rows...
004- done!
005+ Warning: PDO::exec(): SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected in /home/tpearson/Database/src/php-5.4.16/ext/pdo_mysql/tests/mysql_pdo_test.inc on line 41
006+
007+ Warning: PDO::exec(): SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected in %s/pdo_mysql_exec.php on line 6
008+ [002] Expecting '0'/integer got ''/boolean when running 'DROP TABLE IF EXISTS test', [3D000] 3D000 1046 No database selected
009+
010+ Warning: PDO::exec(): SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected in %s/pdo_mysql_exec.php on line 6
011+ [003] Expecting '0'/integer got ''/boolean when running 'CREATE TABLE test(id INT NOT NULL PRIMARY KEY, col1 CHAR(10)) ENGINE=MyISAM', [3D000] 3D000 1046 No database selected
012+
013+ Warning: PDO::exec(): SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected in %s/pdo_mysql_exec.php on line 6
014+ [004] Expecting '1'/integer got ''/boolean when running 'INSERT INTO test(id, col1) VALUES (1, 'a')', [3D000] 3D000 1046 No database selected
015+
016+ Warning: PDO::exec(): SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected in %s/pdo_mysql_exec.php on line 6
017+ [005] Expecting '2'/integer got ''/boolean when running 'INSERT INTO test(id, col1) VALUES (2, 'b'), (3, 'c')', [3D000] 3D000 1046 No database selected
018+
019+ Warning: PDO::exec(): SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected in %s/pdo_mysql_exec.php on line 6
020+ [006] Expecting '1'/integer got ''/boolean when running 'UPDATE test SET id = 4 WHERE id = 3', [3D000] 3D000 1046 No database selected
021+
022+ Warning: PDO::exec(): SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected in %s/pdo_mysql_exec.php on line 6
023+ [007] Expecting '2'/integer got ''/boolean when running 'INSERT INTO test(id, col1) VALUES (1, 'd') ON DUPLICATE KEY UPDATE id = 3', [3D000] 3D000 1046 No database selected
024+
025+ Warning: PDO::exec(): SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected in %s/pdo_mysql_exec.php on line 6
026+ [008] Expecting '0'/integer got ''/boolean when running 'UPDATE test SET id = 5 WHERE id = 5', [3D000] 3D000 1046 No database selected
027+
028+ Warning: PDO::exec(): SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected in %s/pdo_mysql_exec.php on line 6
029+ [009] Expecting '1'/integer got ''/boolean when running 'INSERT INTO test(id, col1) VALUES (5, 'e') ON DUPLICATE KEY UPDATE id = 6', [3D000] 3D000 1046 No database selected
030+
031+ Warning: PDO::exec(): SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected in %s/pdo_mysql_exec.php on line 6
032+ [010] Expecting '2'/integer got ''/boolean when running 'REPLACE INTO test(id, col1) VALUES (5, 'f')', [3D000] 3D000 1046 No database selected
033+
034+ Warning: PDO::exec(): SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected in %s/pdo_mysql_exec.php on line 6
035+ [011] Expecting '1'/integer got ''/boolean when running 'REPLACE INTO test(id, col1) VALUES (6, 'g')', [3D000] 3D000 1046 No database selected
036+
037+ Warning: PDO::exec(): SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected in %s/pdo_mysql_exec.php on line 6
038+ [012] Expecting '4'/integer got ''/boolean when running 'DELETE FROM test WHERE id > 2', [3D000] 3D000 1046 No database selected
039+
040+ Warning: PDO::exec(): SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected in %s/pdo_mysql_exec.php on line 6
041+ [013] Expecting '0'/integer got ''/boolean when running 'DROP TABLE test', [3D000] 3D000 1046 No database selected
042+
043+ Warning: PDO::exec(): SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'THIS IS NOT VALID SQL, I HOPE' at line 1 in %s/pdo_mysql_exec.php on line 6
044+ [016] [42000] 42000 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'THIS IS NOT VALID SQL, I HOPE' at line 1
045+
046+ Warning: PDO::exec(): SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected in %s/pdo_mysql_exec.php on line 6
047+ [036] Expecting '0'/integer got ''/boolean when running 'CREATE TABLE test(id INT NOT NULL PRIMARY KEY, col1 CHAR(10)) ENGINE=MyISAM', [3D000] 3D000 1046 No database selected
048+
049+ Warning: PDO::exec(): SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected in %s/pdo_mysql_exec.php on line 6
050+ [037] Expecting '1'/integer got ''/boolean when running 'INSERT INTO test(id, col1) VALUES (1, 'a')', [3D000] 3D000 1046 No database selected
051+
052+ Warning: PDO::exec(): SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected in %s/pdo_mysql_exec.php on line 6
053+ [034] Expecting 0/integer got /boolean, [3D000] array (
054+ 0 => '3D000',
055+ 1 => 1046,
056+ 2 => 'No database selected',
057+ )
058+ [035] With emulated PS it works but makes no sense given that exec() returns sort of affected rows...
059+ done!