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

Sql.mysql: localtime(0)->timesone is not a constant expression.

parent 34f53683
No related branches found
No related tags found
No related merge requests found
...@@ -119,7 +119,6 @@ testfont binary ...@@ -119,7 +119,6 @@ testfont binary
/lib/modules/SSL.pmod/sslfile.pike foreign_ident /lib/modules/SSL.pmod/sslfile.pike foreign_ident
/lib/modules/SSL.pmod/state.pike foreign_ident /lib/modules/SSL.pmod/state.pike foreign_ident
/lib/modules/Sql.pmod/Sql.pike foreign_ident /lib/modules/Sql.pmod/Sql.pike foreign_ident
/lib/modules/Sql.pmod/mysql.pike foreign_ident
/lib/modules/Sql.pmod/mysql_result.pike foreign_ident /lib/modules/Sql.pmod/mysql_result.pike foreign_ident
/lib/modules/Sql.pmod/odbc.pike foreign_ident /lib/modules/Sql.pmod/odbc.pike foreign_ident
/lib/modules/Sql.pmod/odbc_result.pike foreign_ident /lib/modules/Sql.pmod/odbc_result.pike foreign_ident
......
/* /*
* $Id: mysql.pike,v 1.12 2000/09/28 03:39:08 hubbe Exp $ * $Id$
* *
* Glue for the Mysql-module * Glue for the Mysql-module
*/ */
//. //.
//. File: mysql.pike //. File: mysql.pike
//. RCSID: $Id: mysql.pike,v 1.12 2000/09/28 03:39:08 hubbe Exp $ //. RCSID: $Id$
//. Author: Henrik Grubbstrm (grubba@idonex.se) //. Author: Henrik Grubbstrm (grubba@idonex.se)
//. //.
//. Synopsis: Implements the glue to the Mysql-module. //. Synopsis: Implements the glue to the Mysql-module.
...@@ -37,7 +37,7 @@ string quote(string s) ...@@ -37,7 +37,7 @@ string quote(string s)
// handles time in this local timezone. They map the special zero // handles time in this local timezone. They map the special zero
// time/date spec to 0. // time/date spec to 0.
private constant timezone = localtime (0)->timezone; private int timezone = localtime (0)->timezone;
//. - encode_time //. - encode_time
//. Converts a system time value to an appropriately formatted time //. Converts a system time value to an appropriately formatted time
......
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