2000-04-29
2000-04-29 00:11:09 by Francesco Chemolli <li@kinkie.it>
-
6458a7f8791cbd2ead80fa0c27178fa1c09eb85d
(12 lines)
(+10/-2)
[
Show
| Annotate
]
Branch: 7.9
Added support for (emulated) parametric queries.
Rev: lib/modules/Sql.pmod/msql.pike:1.6
Rev: lib/modules/Sql.pmod/mysql.pike:1.8
Rev: lib/modules/Sql.pmod/odbc.pike:1.4
Rev: lib/modules/Sql.pmod/postgres.pike:1.8
Rev: lib/modules/Sql.pmod/rsql.pike:1.2
Rev: lib/modules/Sql.pmod/sql_util.pmod:1.3
Rev: lib/modules/Sql.pmod/sybase.pike:1.2
1:
/*
- * $Id: mysql.pike,v 1.7 1999/06/14 23:08:37 grubba Exp $
+ * $Id: mysql.pike,v 1.8 2000/04/29 00:10:21 kinkie Exp $
*
* Glue for the Mysql-module
*/
//.
//. File: mysql.pike
- //. RCSID: $Id: mysql.pike,v 1.7 1999/06/14 23:08:37 grubba Exp $
+ //. RCSID: $Id: mysql.pike,v 1.8 2000/04/29 00:10:21 kinkie Exp $
//. Author: Henrik Grubbström (grubba@idonex.se)
//.
//. Synopsis: Implements the glue to the Mysql-module.
128: Inside #if constant(Mysql.mysql)
}
}
+ int|object big_query(string q, mapping(string|int:mixed)|void bindings)
+ {
+ if (!bindings)
+ return ::big_query(q);
+ return ::big_query(.sql_util.emulate_bindings(q,bindings));
+ }
+
#else /* !constant(Mysql.mysql) */
#error "Mysql support not available.\n"
#endif /* constant(Mysql.mysql) */