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

Log of /apr/apr-util/tags/1.2.11/dbd/apr_dbd_sqlite2.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: 9580 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_sqlite2.c
File length: 9580 byte(s)
Diff to previous 412613 (colored)
Update licence headers.

Revision 412613 - (view) (annotate) - [select for diffs]
Modified Wed Jun 7 23:42:01 2006 UTC (3 years, 5 months ago) by bojan
Original Path: apr/apr-util/branches/1.2.x/dbd/apr_dbd_sqlite2.c
File length: 9433 byte(s)
Diff to previous 412391 (colored)
Merge r412612 from trunk to 1.2.x branch
Original message: Simplify cleanup run.

Revision 412391 - (view) (annotate) - [select for diffs]
Modified Wed Jun 7 12:33:21 2006 UTC (3 years, 5 months ago) by bojan
Original Path: apr/apr-util/branches/1.2.x/dbd/apr_dbd_sqlite2.c
File length: 9471 byte(s)
Diff to previous 412373 (colored)
Merge r412390 from trunk to 1.2.x branch
Original message:
Adjust cleanup_kill calls to new wrappers.

Revision 412373 - (view) (annotate) - [select for diffs]
Modified Wed Jun 7 11:38:04 2006 UTC (3 years, 5 months ago) by bojan
Original Path: apr/apr-util/branches/1.2.x/dbd/apr_dbd_sqlite2.c
File length: 9466 byte(s)
Diff to previous 412253 (colored)
Merge r412372 from trunk to 1.2.x branch
Original message: Don't cast cleanup functions, provide wrappers instead.

Revision 412253 - (view) (annotate) - [select for diffs]
Modified Wed Jun 7 02:05:55 2006 UTC (3 years, 5 months ago) by bojan
Original Path: apr/apr-util/branches/1.2.x/dbd/apr_dbd_sqlite2.c
File length: 9301 byte(s)
Diff to previous 412247 (colored)
Merge r412252 from trunk to 1.2.x branch.
Original message: Properly free results table.

Revision 412247 - (view) (annotate) - [select for diffs]
Modified Wed Jun 7 01:16:01 2006 UTC (3 years, 5 months ago) by bojan
Original Path: apr/apr-util/branches/1.2.x/dbd/apr_dbd_sqlite2.c
File length: 9300 byte(s)
Diff to previous 385977 (colored)
Merge r412246 from trunk to 1.2.x branch.
Original message:
Don't store -1 into size_t field (a *really* big number on 64-bit machine :-)
Free allocated memory, not memory used by the pointer.

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_sqlite2.c
File length: 9396 byte(s)
Diff to previous 372726 (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 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_sqlite2.c
File length: 9328 byte(s)
Diff to previous 372440 (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 372440 - (view) (annotate) - [select for diffs]
Modified Thu Jan 26 05:06:44 2006 UTC (3 years, 10 months ago) by rooneg
Original Path: apr/apr-util/branches/1.2.x/dbd/apr_dbd_sqlite2.c
File length: 9322 byte(s)
Diff to previous 232557 (colored)
Merge r332321 into 1.2.x.

Original log message:

We don't want '//' comments

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_sqlite2.c
File length: 9319 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_sqlite2.c
File length: 9319 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_sqlite2.c
File length: 9434 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_sqlite2.c
File length: 9355 byte(s)
Diff to previous 158638 (colored)
Remove conditional include from apr_dbd.h.
That means putting it explicitly in to all the drivers.  *sigh*

Revision 158638 - (view) (annotate) - [select for diffs]
Modified Tue Mar 22 18:58:41 2005 UTC (4 years, 8 months ago) by nd
Original Path: apr/apr-util/trunk/dbd/apr_dbd_sqlite2.c
File length: 9325 byte(s)
Diff to previous 158572 (colored)
fix eol-style

Revision 158572 - (view) (annotate) - [select for diffs]
Added Tue Mar 22 07:44:41 2005 UTC (4 years, 8 months ago) by pquerna
Original Path: apr/apr-util/trunk/dbd/apr_dbd_sqlite2.c
File length: 9325 byte(s)
- Rewrite the DBD tests to use the ABTS framework.
- Move old tests to test/dbd.c
- sqlite2 support, based on Ryan's patch. Changes to pass the tests and build on my debian machine.

Submitted By: Ryan Phillips <ryan trolocsis.com>
PR: 34078

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