Lines Matching refs:d
21 printf("[003] [%d] %s\n", $link->errno, $link->error);
37 printf("[002] [%d] %s\n", $link->errno, $link->error);
42 printf("API: %d, SQL: %d\n", $api_id, $sql_id);
45 printf("[004] Expecting id > 0 got %d, [%d] %s\n", $api_id, $link->errno, $link->error) ;
47 printf("[005] SQL id %d should be equal to API id %d\n", $sql_id, $api_id);
51 printf("[006] [%d] %s\n", $link->errno, $link->error);
58 …"[007] API id should have been reset to 0 because previous query was SELECT, got API %d, SQL %d\n",
62 …printf("[008] The servers LAST_INSERT_ID() changed unexpectedly from %d to %d\n", $sql_id, $new_sq…
67 printf("[009] The INSERT did not fail as planned, [%d] %s\n", $link->errno, $link->error);
73 …"[010] API id should have been reset to 0 because previous query was SELECT, got API %d, SQL %d\n",
77 …printf("[011] The servers LAST_INSERT_ID() changed unexpectedly from %d to %d\n", $sql_id, $new_sq…
82 printf("[012] [%d] %s\n", $link->errno, $link->error);
87 printf("[013] Expecting id > 0 got %d, [%d] %s\n", $api_id, $link->errno, $link->error) ;
89 printf("[014] SQL id %d should be equal to API id %d\n", $new_sql_id, $api_id);
91 printf("[015] SQL id %d should have had changed, got %d\n", $sql_id, $new_sql_id);
97 printf("[016] [%d] %s\n", $link->errno, $link->error);
102 …tf("[017] API id should have been reset to 0 because previous query was SET, got API %d, SQL %d\n",
106 …printf("[018] The servers LAST_INSERT_ID() changed unexpectedly from %d to %d\n", $sql_id, $new_sq…
110 printf("[019] [%d] %s\n", $link->errno, $link->error);
115 printf("[020] SQL id %d should be equal to API id %d\n", $sql_id, $api_id);
118 printf("[021] [%d] %s\n", $link->errno, $link->error);
123 printf("[022] SQL id %d should be equal to API id %d\n", $sql_id, $api_id);
126 printf("[023] [%d] %s\n", $link->errno, $link->error);
130 printf("id = %d, label = '%s'\n", $row['id'], $row['label']);
135 printf("[024] [%d] %s\n", $link->errno, $link->error);
140 printf("[025] SQL id %d should be equal to API id %d\n", $sql_id, $api_id);
143 …printf("[026] INSERT should have failed because of duplicate PK value, [%d] %s\n", $link->errno, $…
148 …ntf("[027] API id should have been reset to 0 because previous query failed, got API %d, SQL %d\n",
152 …printf("[028] The servers LAST_INSERT_ID() changed unexpectedly from %d to %d\n", $sql_id, $new_sq…
156 …if (!$link->query(sprintf("INSERT INTO test(id, label) VALUES (%d, 'z') ON DUPLICATE KEY UPDATE id…
157 printf("[029] [%d] %s\n", $link->errno, $link->error);
162 printf("[030] API id should be %d got %d\n", $sql_id, $api_id);
164 …printf("[031] The servers LAST_INSERT_ID() changed unexpectedly from %d to %d\n", $sql_id, $new_sq…
168 printf("[032] [%d] %s\n", $link->errno, $link->error);
172 printf("id = %d, label = '%s'\n", $row['id'], $row['label']);
183 API: %d, SQL: %d
185 id = %d, label = 'b'
186 id = %d, label = 'a'
187 id = %d, label = 'c'
189 id = %d, label = 'b'
190 id = %d, label = 'a'
191 id = %d, label = 'c'
192 id = %d, label = 'a%d'
193 id = %d, label = 'c%d'
194 id = 101, label = 'b%d'