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']));
57 $row = $db->query('SELECT COUNT(*) AS _num FROM test')->fetch(PDO::FETCH_ASSOC);
58 $num = $row['_num'];
62 $row = $db->query('SELECT COUNT(*) AS _num FROM test')->fetch(PDO::FETCH_ASSOC);
63 if ($row['_num'] != $num)
68 $row = $db->query('SELECT COUNT(*) AS _num FROM test')->fetch(PDO::FETCH_ASSOC);
69 if ($row['_num'] != $num)
77 $row = $db->query('SELECT COUNT(*) AS _num FROM test')->fetch(PDO::FETCH_ASSOC);
78 if ($row['_num'] != $num)
84 $row = $db->query('SELECT COUNT(*) AS _num FROM test')->fetch(PDO::FETCH_ASSOC);
85 if ($row['_num'] != $num)