/[libdata]/branches/pear-db/include/xx_pear_db.php
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /branches/pear-db/include/xx_pear_db.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 51 by dpavlin, Fri Mar 5 22:46:57 2004 UTC revision 52 by dpavlin, Fri Mar 5 23:38:19 2004 UTC
# Line 122  function xx_query($sql, $con = 0) { Line 122  function xx_query($sql, $con = 0) {
122    
123          XXX_debug("xx_query [transformed]: $sql");          XXX_debug("xx_query [transformed]: $sql");
124    
         $ret = $con->query($sql);  
           
125          $GLOBALS["xx_element_nr $ret"] = 0;          $GLOBALS["xx_element_nr $ret"] = 0;
126    
127            $ret = $con->query($sql);
128    
129            if ($db->isError($ret)) {
130                    #die($db->getUserInfo());
131                    die($db->DebugInfo());
132            }
133    
134  #       $GLOBALS["pg_last_oid"] = pg_last_oid($ret);  #       $GLOBALS["pg_last_oid"] = pg_last_oid($ret);
135          if ($ret) {          if ($ret) {
136                  return $ret;                  return $ret;

Legend:
Removed from v.51  
changed lines
  Added in v.52

  ViewVC Help
Powered by ViewVC 1.1.26