Integrated pg_num_fields() as it exists :)
git-svn-id: https://plugins.svn.wordpress.org/postgresql-for-wordpress/trunk@201954 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
@@ -29,7 +29,7 @@
|
|||||||
function wpsql_numrows($result)
|
function wpsql_numrows($result)
|
||||||
{ return pg_num_rows($result); }
|
{ return pg_num_rows($result); }
|
||||||
function wpsql_num_fields($result)
|
function wpsql_num_fields($result)
|
||||||
{ return 1; }
|
{ return pg_num_fields($result); }
|
||||||
function wpsql_fetch_field($result)
|
function wpsql_fetch_field($result)
|
||||||
{ return 'tablename'; }
|
{ return 'tablename'; }
|
||||||
function wpsql_fetch_object($result)
|
function wpsql_fetch_object($result)
|
||||||
|
Reference in New Issue
Block a user