Skip to content
Snippets Groups Projects
Commit bcae04a7 authored by Tim Wickberg's avatar Tim Wickberg
Browse files

Merge branch 'slurm-15.08' into slurm-16.05

parents f49dba56 b3107d89
No related branches found
No related tags found
No related merge requests found
......@@ -189,7 +189,7 @@ MYSQL_STMT *prepare_stmt(MYSQL *handle, const char *query,
/* Verify the parameter count */
param_count = mysql_stmt_param_count(stmt);
if (nparams != nparams) {
if (param_count != nparams) {
error("expected %lu parameters for \"%s\" but got %lu",
nparams, query, param_count);
goto prepare_failed;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment