Changeset 546644
- Timestamp:
- 05/20/2012 04:58:04 PM (14 years ago)
- Location:
- postgresql-for-wordpress/trunk/pg4wp
- Files:
-
- 2 edited
-
driver_mysql.php (modified) (1 diff)
-
driver_pgsql.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
postgresql-for-wordpress/trunk/pg4wp/driver_mysql.php
r135401 r546644 33 33 { return mysql_fetch_assoc($result); } 34 34 function wpsql_escape_string($s) 35 { return mysql_escape_string($s); } 35 { return mysql_real_escape_string($s); } 36 function wpsql_real_escape_string($s,$c=NULL) 37 { return mysql_real_escape_string($s,$c); } 36 38 function wpsql_get_server_info() 37 39 { return mysql_get_server_info(); } -
postgresql-for-wordpress/trunk/pg4wp/driver_pgsql.php
r546567 r546644 53 53 function wpsql_fetch_assoc($result) { return pg_fetch_assoc($result); } 54 54 function wpsql_escape_string($s) { return pg_escape_string($s); } 55 function wpsql_real_escape_string($s,$c ) { return pg_escape_string($s); }55 function wpsql_real_escape_string($s,$c=NULL) { return pg_escape_string($s); } 56 56 function wpsql_get_server_info() { return '5.0.30'; } // Just want to fool wordpress ... 57 57 function wpsql_result($result, $i, $fieldname)
Note: See TracChangeset
for help on using the changeset viewer.