pike.git
/
lib
/
modules
/
Sql.pmod
/
sql_util.pmod
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/lib/modules/Sql.pmod/sql_util.pmod:1:
/*
-
* $Id: sql_util.pmod,v 1.
13
2006/
08
/
15
14:
39
:
23
grubba
Exp $
+
* $Id: sql_util.pmod,v 1.
14
2006/
09
/
14
12
:
44
:
46
nilsson
Exp $
* * Some SQL utility functions. * They are kept here to avoid circular references. * * Henrik Grubbström 1999-07-01 */ #pike __REAL_VERSION__ //! Some SQL utility functions
pike.git/lib/modules/Sql.pmod/sql_util.pmod:58:
s : ":"+s); }); return replace(query,k,v); } //! Result object wrapper performing utf8 decoding of all fields. //! //! Useful for eg Mysql connections which have been set to utf8-mode //! using eg @expr{"SET NAMES 'utf8'"@}. class UnicodeWrapper (
-
//
!
The wrapped result object.
+
// The wrapped result object.
static object master_result ) { //! Returns the number of rows in the result. int num_rows() { return master_result->num_rows(); } //! Returns the number of fields in the result.