pike.git/lib/modules/Sql.pmod/mysql.pike:1:
/*
- * $Id: mysql.pike,v 1.19 2003/12/31 00:10:26 nilsson Exp $
+ * $Id: mysql.pike,v 1.20 2004/04/14 20:20:34 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)
+ #if constant(Mysql)
inherit Mysql.mysql;
#if constant( Mysql.mysql.MYSQL_NO_ADD_DROP_DB )
// Documented in the C-file.
void create_db( string db )
{
::big_query( "CREATE DATABASE "+db );
}
pike.git/lib/modules/Sql.pmod/mysql.pike:190: Inside #if constant(Mysql.mysql)
"sql_select_limit", "sql_small_result", "sql_big_result",
"sql_warnings", "straight_join", "starting", "status", "string",
"table", "tables", "temporary", "terminated", "text", "then", "time",
"timestamp", "tinyblob", "tinytext", "tinyint", "trailing", "to",
"type", "use", "using", "unique", "unlock", "unsigned", "update",
"usage", "values", "varchar", "variables", "varying", "varbinary",
"with", "write", "when", "where", "year", "year_month", "zerofill",
>)[ lower_case(name) ];
}
+ #else
+ constant this_program_does_not_exist=1;
#endif /* constant(Mysql.mysql) */