Lines Matching refs:stmt
40 if (!$stmt = mysqli_stmt_init($link))
43 if (NULL !== ($tmp = mysqli_stmt_get_warnings($stmt)))
46 if (!mysqli_stmt_prepare($stmt, "DROP TABLE IF EXISTS test") || !mysqli_stmt_execute($stmt))
47 printf("[005] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
49 if (false !== ($tmp = mysqli_stmt_get_warnings($stmt)))
52 …if (!mysqli_stmt_prepare($stmt, "CREATE TABLE test(id SMALLINT, label CHAR(1))") || !mysqli_stmt_e…
53 printf("[007] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
55 if (false !== ($tmp = mysqli_stmt_get_warnings($stmt)))
58 …if (!mysqli_stmt_prepare($stmt, "INSERT INTO test(id, label) VALUES (100000, 'a'), (100001, 'b')")…
59 !mysqli_stmt_execute($stmt))
60 printf("[009] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
62 if (!is_object($warning = mysqli_stmt_get_warnings($stmt)))
90 mysqli_stmt_close($stmt);
92 if (NULL !== ($tmp = mysqli_stmt_get_warnings($stmt)))