Skip to content
Snippets Groups Projects
Commit 550a4ec3 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Fixed typo.

Rev: lib/modules/Sql.pmod/sql.pike:1.10
parent 7d190d72
No related branches found
No related tags found
No related merge requests found
/* /*
* $Id: sql.pike,v 1.9 1997/06/20 12:28:58 grubba Exp $ * $Id: sql.pike,v 1.10 1997/06/20 12:59:31 grubba Exp $
* *
* Implements the generic parts of the SQL-interface * Implements the generic parts of the SQL-interface
* *
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
//. //.
//. File: sql.pike //. File: sql.pike
//. RCSID: $Id: sql.pike,v 1.9 1997/06/20 12:28:58 grubba Exp $ //. RCSID: $Id: sql.pike,v 1.10 1997/06/20 12:59:31 grubba Exp $
//. Author: Henrik Grubbström (grubba@infovav.se) //. Author: Henrik Grubbström (grubba@infovav.se)
//. //.
//. Synopsis: Implements the generic parts of the SQL-interface. //. Synopsis: Implements the generic parts of the SQL-interface.
...@@ -76,11 +76,11 @@ void create(void|string|object host, void|string db, ...@@ -76,11 +76,11 @@ void create(void|string|object host, void|string db,
// Ignore compiler errors for the various sql-modules, // Ignore compiler errors for the various sql-modules,
// since we might not have some. // since we might not have some.
// This is NOT a nice way to do it, but... // This is NOT a nice way to do it, but...
mixed old_inhib = master()->inhibit_compiler_errors; mixed old_inhib = master()->inhibit_compile_errors;
master()->inhibit_compiler_errors = lambda(){}; master()->inhibit_compile_errors = lambda(){};
err = catch {p = Sql[program_name];}; err = catch {p = Sql[program_name];};
// Restore compiler errors mode to whatever it was before. // Restore compiler errors mode to whatever it was before.
master()->inhibit_compiler_errors = old_inhib; master()->inhibit_compile_errors = old_inhib;
#endif /* PIKE_SQL_DEBUG */ #endif /* PIKE_SQL_DEBUG */
if (err) { if (err) {
throw(err); throw(err);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment