Added get_my_sql and get_my_table( string defenition ) methods. Example usage, from the auth_httpcookie module: void start() { sql = get_my_sql(); table = get_my_table( "cookie varchar(40) PRIMARY KEY NOT NULL, " "password varchar(40) NOT NULL, " "name varchar(40) NOT NULL" ); } Then, later on: sql->query( "SELECT name,password FROM "+ table+" WHERE cookie=%s", cookie ); Rev: server/base_server/module.pike:1.104