Skip to content
Snippets Groups Projects
Commit 8d8407a0 authored by H. William Welliver III's avatar H. William Welliver III
Browse files

-> doesn't work in this case, we need to use .

sql providers should now work properly.

Rev: lib/modules/Sql.pmod/Sql.pike:1.82
parent 36f19cb3
No related branches found
No related tags found
No related merge requests found
/*
* $Id: Sql.pike,v 1.81 2005/04/10 18:08:51 nilsson Exp $
* $Id: Sql.pike,v 1.82 2005/09/22 03:46:53 bill Exp $
*
* Implements the generic parts of the SQL-interface
*
......@@ -108,8 +108,8 @@ static program find_dbm(string program_name) {
program p;
// we look in Sql.type and Sql.Provider.type.type for a valid sql class.
p = Sql[program_name];
if(!p && Sql->Provider && Sql->Provider[program_name])
p = Sql->Provider[program_name][program_name];
if(!p && Sql.Provider && Sql.Provider[program_name])
p = Sql.Provider[program_name][program_name];
return p;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment