Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 399739
Collapse All | Expand All

(-)libdbi-drivers-0.8.3-1.orig/drivers/sqlite3/dbd_sqlite3.c (-1 / +8 lines)
Lines 130-135 Link Here
130
  const char *encoding;
130
  const char *encoding;
131
131
132
  int timeout;
132
  int timeout;
133
  dbi_result dbi_result;
133
134
134
  /* initialize error stuff */
135
  /* initialize error stuff */
135
  conn->error_number = 0;
136
  conn->error_number = 0;
Lines 227-233 Link Here
227
    timeout = 0;
228
    timeout = 0;
228
  }
229
  }
229
230
230
  sqlite3_busy_timeout(sqcon, timeout);	
231
  sqlite3_busy_timeout(sqcon, timeout);
232
233
  /* this is required to make SQLite work like other database engines
234
     in that it returns the column information even if there are no
235
     rows in a result set */
236
  dbi_result = dbd_query(conn, "PRAGMA empty_result_callbacks=1");
237
  
231
  
238
  
232
  return 0;
239
  return 0;
233
}
240
}

Return to bug 399739