pike.git/lib/modules/Sql.pmod/mysql.pike:1:
/*
- * $Id: mysql.pike,v 1.18 2003/08/22 14:24:06 nilsson Exp $
+ * $Id: mysql.pike,v 1.19 2003/12/31 00:10:26 nilsson Exp $
*
* Glue for the Mysql-module
*/
//! Implements the glue needed to access the Mysql-module from the generic
//! SQL module.
#pike __REAL_VERSION__
#if constant(Mysql.mysql)
pike.git/lib/modules/Sql.pmod/mysql.pike:142: Inside #if constant(Mysql.mysql)
else
return decode_date (timestr);
}
}
//!
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,this_object()));
+ return ::big_query(.sql_util.emulate_bindings(q,bindings,this));
}
-
+
int(0..1) is_keyword( string name )
//! Return 1 if the argument @[name] is a mysql keyword.
{
return (<
"action", "add", "aggregate", "all", "alter", "after", "and", "as",
"asc", "avg", "avg_row_length", "auto_increment", "between", "bigint",
"bit", "binary", "blob", "bool", "both", "by", "cascade", "case",
"char", "character", "change", "check", "checksum", "column",
"columns", "comment", "constraint", "create", "cross", "current_date",
"current_time", "current_timestamp", "data", "database", "databases",