Skip to content
Snippets Groups Projects
Commit b12f2c4f authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Fixed bug in big_query().

Rev: lib/modules/Sql.pmod/sql.pike:1.23
parent ff9f5d06
No related branches found
No related tags found
Loading
/*
* $Id: sql.pike,v 1.22 1998/06/17 12:58:34 grubba Exp $
* $Id: sql.pike,v 1.23 1998/06/17 13:01:36 grubba Exp $
*
* Implements the generic parts of the SQL-interface
*
......@@ -8,7 +8,7 @@
//.
//. File: sql.pike
//. RCSID: $Id: sql.pike,v 1.22 1998/06/17 12:58:34 grubba Exp $
//. RCSID: $Id: sql.pike,v 1.23 1998/06/17 13:01:36 grubba Exp $
//. Author: Henrik Grubbström (grubba@idonex.se)
//.
//. Synopsis: Implements the generic parts of the SQL-interface.
......@@ -320,8 +320,7 @@ object big_query(object|string q, mapping(string|int:mixed)|void bindings)
} else {
pre_res = master_sql->big_query(q);
}
}
if (bindings) {
} else if (bindings) {
pre_res = master_sql->query(q, bindings);
} else {
pre_res = master_sql->query(q);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment