Lines Matching refs:row
21 $row = $db->query('SELECT @@autocommit AS _autocommit')->fetch(PDO::FETCH_ASSOC);
22 if (!$row['_autocommit'])
23 … printf("[002] Server autocommit mode should be on, got '%s'\n", var_export($row['_autocommit']));
29 $row = $db->query('SELECT @@autocommit AS _autocommit')->fetch(PDO::FETCH_ASSOC);
30 if ($row['_autocommit'])
31 … printf("[004] Server autocommit mode should be off, got '%s'\n", var_export($row['_autocommit']));
47 $row = $db->query('SELECT @@autocommit AS _autocommit')->fetch(PDO::FETCH_ASSOC);
48 if (!$row['_autocommit'])
49 … printf("[009] Server autocommit mode should be on, got '%s'\n", var_export($row['_autocommit']));
58 $row = $db->query('SELECT COUNT(*) AS _num FROM test')->fetch(PDO::FETCH_ASSOC);
59 $num = $row['_num'];
63 $row = $db->query('SELECT COUNT(*) AS _num FROM test')->fetch(PDO::FETCH_ASSOC);
64 if ($row['_num'] != $num)
69 $row = $db->query('SELECT COUNT(*) AS _num FROM test')->fetch(PDO::FETCH_ASSOC);
70 if ($row['_num'] != $num)
78 $row = $db->query('SELECT COUNT(*) AS _num FROM test')->fetch(PDO::FETCH_ASSOC);
79 if ($row['_num'] != $num)
85 $row = $db->query('SELECT COUNT(*) AS _num FROM test')->fetch(PDO::FETCH_ASSOC);
86 if ($row['_num'] != $num)