]> granicus.if.org Git - php/commitdiff
If you add functions to the PDO core, take care not to break other PDO drivers tests...
authorUlf Wendel <uw@php.net>
Mon, 30 Aug 2010 09:20:48 +0000 (09:20 +0000)
committerUlf Wendel <uw@php.net>
Mon, 30 Aug 2010 09:20:48 +0000 (09:20 +0000)
ext/pdo_mysql/tests/pdo_mysql_interface.phpt

index 00c282bcc7706a70f5153600079a08322c189d2c..9e13908a5ad1c65e33dfbf88ab98bd2c5bb7e6a7 100644 (file)
@@ -14,20 +14,21 @@ if (false == MySQLPDOTest::detect_transactional_mysql_engine($db))
        $db = MySQLPDOTest::factory();
 
        $expected = array(
-               '__construct'                                   => true,
-               'prepare'                                               => true,
-               'beginTransaction'              => true,
+               '__construct'                                                   => true,
+               'prepare'                                                       => true,
+               'beginTransaction'                                              => true,
                'commit'                                                        => true,
-               'rollBack'                                              => true,
-               'setAttribute'                          => true,
+               'rollBack'                                                      => true,
+               'setAttribute'                                                  => true,
                'exec'                                                          => true,
                'query'                                                         => true,
-               'lastInsertId'                          => true,
-               'errorCode'                                             => true,
-               'errorInfo'                                             => true,
-               'getAttribute'                          => true,
+               'lastInsertId'                                                  => true,
+               'errorCode'                                                     => true,
+               'errorInfo'                                                     => true,
+               'getAttribute'                                                  => true,
                'quote'                                                         => true,
-               '__wakeup'                                              => true,
+               'inTransaction'                                                 => true,
+               '__wakeup'                                                      => true,
                '__sleep'                                                       => true,
                'getAvailableDrivers'   => true,
        );
@@ -55,4 +56,4 @@ if (false == MySQLPDOTest::detect_transactional_mysql_engine($db))
 
        print "done!";
 --EXPECT--
-done!
\ No newline at end of file
+done!