/[Apache-SVN]/apr/apr-util/tags/1.2.11/dbd/apr_dbd_sqlite3.c
ViewVC logotype

Log of /apr/apr-util/tags/1.2.11/dbd/apr_dbd_sqlite3.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Revision:

Revision 595437 - (view) (annotate) - [select for diffs]
Modified Thu Nov 15 20:25:37 2007 UTC (2 years ago) by wrowe
File length: 20321 byte(s)
Diff to previous 591015 (colored)
Tagged 1.2.11

Revision 591015 - (view) (annotate) - [select for diffs]
Modified Thu Nov 1 14:07:19 2007 UTC (2 years ago) by jorton
Original Path: apr/apr-util/branches/1.2.x/dbd/apr_dbd_sqlite3.c
File length: 20321 byte(s)
Diff to previous 414126 (colored)
Update licence headers.

Revision 414126 - (view) (annotate) - [select for diffs]
Modified Wed Jun 14 06:55:06 2006 UTC (3 years, 5 months ago) by bojan
Original Path: apr/apr-util/branches/1.2.x/dbd/apr_dbd_sqlite3.c
File length: 20174 byte(s)
Diff to previous 412385 (colored)
Merge r413798 and r414125 from trunk to 1.2.x branch.
Original message:
Don't expect variable argument list to end with NULL
for PostgreSQL and SQLite3 DBD drivers. Count instead.

Revision 412385 - (view) (annotate) - [select for diffs]
Modified Wed Jun 7 12:13:09 2006 UTC (3 years, 5 months ago) by bojan
Original Path: apr/apr-util/branches/1.2.x/dbd/apr_dbd_sqlite3.c
File length: 20263 byte(s)
Diff to previous 407707 (colored)
Merge r412384 from trunk to 1.2.x branch
Original message:
Don't cast cleanup functions, provide wrappers instead (PgSQL, SQLite3).

Revision 407707 - (view) (annotate) - [select for diffs]
Modified Fri May 19 04:40:42 2006 UTC (3 years, 6 months ago) by bojan
Original Path: apr/apr-util/branches/1.2.x/dbd/apr_dbd_sqlite3.c
File length: 20182 byte(s)
Diff to previous 399635 (colored)
Rework r399093, r399948, r406009 from trunk to apply to 1.2.x branch.
Original message: Implement prepared statement support in SQLite3 DBD driver.

Revision 399635 - (view) (annotate) - [select for diffs]
Modified Thu May 4 09:40:28 2006 UTC (3 years, 6 months ago) by martin
Original Path: apr/apr-util/branches/1.2.x/dbd/apr_dbd_sqlite3.c
File length: 12928 byte(s)
Diff to previous 398070 (colored)
On a non-threaded platform that has sqlite3, apr_dbd_sqlite3.c
does not compile because it invokes the mutex lock functions
unconditionally. (This ugly fix using #ifdef has already been solved
in a cleaner fashion in the httpd-2.3 version.)

Revision 398070 - (view) (annotate) - [select for diffs]
Modified Sat Apr 29 02:52:52 2006 UTC (3 years, 6 months ago) by bojan
Original Path: apr/apr-util/branches/1.2.x/dbd/apr_dbd_sqlite3.c
File length: 12604 byte(s)
Diff to previous 397377 (colored)
Merge r398048 from the trunk.

Revision 397377 - (view) (annotate) - [select for diffs]
Modified Thu Apr 27 03:26:13 2006 UTC (3 years, 7 months ago) by bojan
Original Path: apr/apr-util/branches/1.2.x/dbd/apr_dbd_sqlite3.c
File length: 12634 byte(s)
Diff to previous 385977 (colored)
Rework commit 396309 from trunk to apply to 1.2.x (mutex lock code adjustment required to merge)

Revision 385977 - (view) (annotate) - [select for diffs]
Modified Wed Mar 15 06:04:54 2006 UTC (3 years, 8 months ago) by rooneg
Original Path: apr/apr-util/branches/1.2.x/dbd/apr_dbd_sqlite3.c
File length: 12342 byte(s)
Diff to previous 385976 (colored)
Merge r384327 from trunk into the 1.2.x branch.

Original log message:

Add or correct bounds checking for sqlite dbd backends.

Submitted by: Bojan Smojver <bojan rexursive.com>

* dbd/apr_dbd_sqlite2.c
  (dbd_sqlite_get_entry): Add bounds checking.

* dbd/apr_dbd_sqlite3.c
  (dbd_sqlite3_get_entry): Correct bounds checking on negative values.

Revision 385976 - (view) (annotate) - [select for diffs]
Modified Wed Mar 15 06:03:31 2006 UTC (3 years, 8 months ago) by rooneg
Original Path: apr/apr-util/branches/1.2.x/dbd/apr_dbd_sqlite3.c
File length: 12334 byte(s)
Diff to previous 385187 (colored)
Merge r384320 from trunk into the 1.2.x branch.

Original log message:

Correct allocate space for column names in the sqlite3 dbd implementation.

Submitted by: Bojan Smojver <bojan rexursive.com>

* dbd/apr_dbd_sqlite3.c
  (apr_dbd_results_t): Add col_names member.
  (dbd_sqlite3_select): Initialize col_names and copy the names of the
   columns into it.

Revision 385187 - (view) (annotate) - [select for diffs]
Modified Sat Mar 11 22:54:27 2006 UTC (3 years, 8 months ago) by rooneg
Original Path: apr/apr-util/branches/1.2.x/dbd/apr_dbd_sqlite3.c
File length: 11902 byte(s)
Diff to previous 372726 (colored)
Merge r233488 from trunk

Original log message:

Support float in sqlite3 driver (patch by Rick Keiner)

Revision 372726 - (view) (annotate) - [select for diffs]
Modified Fri Jan 27 04:30:56 2006 UTC (3 years, 9 months ago) by rooneg
Original Path: apr/apr-util/branches/1.2.x/dbd/apr_dbd_sqlite3.c
File length: 12048 byte(s)
Diff to previous 232557 (colored)
Merge r372724 to 1.2.x.

Original log message:

Fix the escape implementation in the sqlite dbd back ends.

Submitted by: Ronen Mizrahi <ronen tversity.com>
Tests by: rooneg

* dbd/apr_dbd_sqlite2.c
  (dbd_sqlite_escape): Use the %q format string.

* dbd/apr_dbd_sqlite3.c
  (dbd_sqlite_escape): Ditto.

* test/testdbd.c
  (test_escape): New test.
  (test_dbd_generic): Call test_escape.

* CHANGES: Note fix.

Revision 232557 - (view) (annotate) - [select for diffs]
Modified Sun Aug 14 00:47:21 2005 UTC (4 years, 3 months ago) by pquerna
Original Path: apr/apr-util/branches/1.2.x/dbd/apr_dbd_sqlite3.c
File length: 12042 byte(s)
Diff to previous 231416 (colored)
Branch 1.2.x

Revision 231416 - (view) (annotate) - [select for diffs]
Modified Thu Aug 11 08:51:16 2005 UTC (4 years, 3 months ago) by jorton
Original Path: apr/apr-util/trunk/dbd/apr_dbd_sqlite3.c
File length: 12042 byte(s)
Diff to previous 231376 (colored)
* include/private/apr_dbd_internal.h: Include public header; remove
duplicate typedefs and use of APR_DBD_INTERNAL.

* include/apr_dbd.h: Unconditionally define the typedefs.

* dbd/apr_dbd_sqlite2.c, dbd/apr_dbd_sqlite3.c, dbd/apr_dbd_pgsql.c:
Include just the private header; remove duplicate typedefs and use of
APR_DBD_INTERNAL.

Revision 231376 - (view) (annotate) - [select for diffs]
Modified Thu Aug 11 02:35:25 2005 UTC (4 years, 3 months ago) by rooneg
Original Path: apr/apr-util/trunk/dbd/apr_dbd_sqlite3.c
File length: 12280 byte(s)
Diff to previous 231274 (colored)
Be a bit more correct in our handling of varargs in the DBD code.

* include/private/apr_dbd_internal.h
  (apr_dbd_driver_t::pvquery,
   apr_dbd_driver_t::pvselect): take a va_list, not ...

* dbd/apr_dbd_sqlite2.c
  (dbd_sqlite_pvquery,
   dbd_sqlite_pvselect): take a va_list arg.  not that it really matters
   since this just returns ENOTIMPL...

* dbd/apr_dbd_sqlite3.c
  (dbd_sqlite3_pvquery,
   dbd_sqlite3_pvselect): ditto.

* dbd/apr_dbd_pgsql.c
  (dbd_pgsql_pvquery,
   dbd_pgsql_pvselect): take va_list args, as such stop doing va_start and
   va_end, since it's already been done in the upper level wrapper function.

Revision 231274 - (view) (annotate) - [select for diffs]
Modified Wed Aug 10 15:56:53 2005 UTC (4 years, 3 months ago) by niq
Original Path: apr/apr-util/trunk/dbd/apr_dbd_sqlite3.c
File length: 12230 byte(s)
Diff to previous 190567 (colored)
Remove conditional include from apr_dbd.h.
That means putting it explicitly in to all the drivers.  *sigh*

Revision 190567 - (view) (annotate) - [select for diffs]
Modified Tue Jun 14 10:13:52 2005 UTC (4 years, 5 months ago) by jorton
Original Path: apr/apr-util/trunk/dbd/apr_dbd_sqlite3.c
File length: 12200 byte(s)
Diff to previous 190566 (colored)
* dbd/apr_dbd_sqlite3.c: Code style fixes; no functional change.

Revision 190566 - (view) (annotate) - [select for diffs]
Modified Tue Jun 14 10:03:51 2005 UTC (4 years, 5 months ago) by jorton
Original Path: apr/apr-util/trunk/dbd/apr_dbd_sqlite3.c
File length: 11792 byte(s)
Diff to previous 189574 (colored)
* dbd/apr_dbd_sqlite3.c (dbd_sqlite3_select): Initialize retry_count
to zero.  (dbd_sqlite3_get_row): Remove unused variables.
(dbd_sqlite3_query): Remove unused variable.

* test/Makefile.in (CLEAN_TARGETS): Clean up test output.

Revision 189574 - (view) (annotate) - [select for diffs]
Modified Wed Jun 8 11:26:42 2005 UTC (4 years, 5 months ago) by niq
Original Path: apr/apr-util/trunk/dbd/apr_dbd_sqlite3.c
File length: 11846 byte(s)
Diff to previous 169694 (colored)
SQLite3 transaction patch (submitted by Rick Keiner)

Revision 169694 - (view) (annotate) - [select for diffs]
Modified Wed May 11 20:39:16 2005 UTC (4 years, 6 months ago) by pquerna
Original Path: apr/apr-util/trunk/dbd/apr_dbd_sqlite3.c
File length: 11546 byte(s)
Diff to previous 168395 (colored)
set EOL Style = native.

Revision 168395 - (view) (annotate) - [select for diffs]
Added Thu May 5 20:11:39 2005 UTC (4 years, 6 months ago) by pquerna
Original Path: apr/apr-util/trunk/dbd/apr_dbd_sqlite3.c
File length: 11546 byte(s)
dbd/apr_dbd_sqlite3.c was supposed to be added in r168388.

svn add is a hard command to master.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

apache@apache.org
ViewVC Help
Powered by ViewVC 1.1.2