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