summaryrefslogtreecommitdiff
path: root/dbd
Commit message (Collapse)AuthorAgeFilesLines
* Untested but presumably this code was also -- found by Coverity:jorton2018-10-041-1/+1
| | | | | | | | * dbd/apr_dbd_odbc.c (odbc_lob_bucket_read): Fix to allocate sizeof(apr_bucket) not sizeof(apr_bucket *). git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1842824 13f79535-47bb-0310-9956-ffa450edef68
* Add include and lib paths for dependecies in some of the gsmith2015-06-252-18/+18
| | | | | | | | DBD and DBM drivers/modules git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1687654 13f79535-47bb-0310-9956-ffa450edef68
* MySQL driver: Fix incorrect check for bad parameter in thetrawick2014-09-161-2/+2
| | | | | | | | | | driver support for apr_dbd_transaction_end(). PR: 56330 Submitted by: Weiqiang Li <weiqiang_li hotmail.com> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1625247 13f79535-47bb-0310-9956-ffa450edef68
* Add signed type apr_intptr_t, because intptr_t is C99, and is not tdonovan2014-01-131-10/+10
| | | | | | | recognized by MSVC6. Changed ODBC dbd driver to use apr_intptr_t. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1557720 13f79535-47bb-0310-9956-ffa450edef68
* APR DSOs have .dll extension on Cygwin too.trawick2013-10-051-1/+1
| | | | | | | | | PR: 55587 Submitted by: Carlo Bramini <carlo.bramix libero.it> Reviewed by: trawick git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1529554 13f79535-47bb-0310-9956-ffa450edef68
* fix feature test name in commenttrawick2013-09-071-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1520813 13f79535-47bb-0310-9956-ffa450edef68
* Fix warnings in odbc driver on 64bit systems. PR 55197tdonovan2013-07-311-13/+14
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1508903 13f79535-47bb-0310-9956-ffa450edef68
* Fix forever loop on NetWare when trying to get parent pool.fuankg2013-05-071-2/+4
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1479836 13f79535-47bb-0310-9956-ffa450edef68
* Mark apr_dbd_freetds as unsupported and remove it from all buildsniq2013-03-305-6/+4
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1462772 13f79535-47bb-0310-9956-ffa450edef68
* Allow apr_dbd_get_row() to be called with a different pool than apr_dbd_select()sf2012-08-054-4/+4
| | | | | | | | PR: 53533 Submitted by: <arthur echo gmail com> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1369681 13f79535-47bb-0310-9956-ffa450edef68
* APR dbd FreeTDS support: Fix spurious API errors caused by trawick2012-07-181-1/+1
| | | | | | | | | | | | | unitialized fields. Use apr_pcalloc instead of apr_palloc when allocating the dbd structure so that all fields are initialized. Submitted by: TROY.LIU 劉春偉 <TROY.LIU deltaww.com.cn> Reviewed by: trawick git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1362892 13f79535-47bb-0310-9956-ffa450edef68
* Forward port r1211219 from apr-util 1.4:sf2012-07-161-8/+8
| | | | | | | Use different base. This one was from odbc driver git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1362252 13f79535-47bb-0310-9956-ffa450edef68
* NetWare build tweaks to enable nlmconv linker.fuankg2012-05-025-21/+25
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1333202 13f79535-47bb-0310-9956-ffa450edef68
* Switch pgsql module from PQescapeString (which pgsql now deprecates)niq2012-04-181-1/+1
| | | | | | | to PQescapeStringConn git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1327636 13f79535-47bb-0310-9956-ffa450edef68
* Remove variables that we assign but never read.minfrin2011-11-281-2/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1207680 13f79535-47bb-0310-9956-ffa450edef68
* Refactored for single apr/ treewrowe2011-06-017-56/+56
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1130019 13f79535-47bb-0310-9956-ffa450edef68
* small simplification to the fix in r1065258: just use the Oracletrawick2011-03-231-4/+2
| | | | | | | | | datatype for the type field (http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28395/ociaahan.htm#sthref5358) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1084681 13f79535-47bb-0310-9956-ffa450edef68
* Use var for prelude so its possible to change it at one place.fuankg2011-03-185-5/+5
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1082798 13f79535-47bb-0310-9956-ffa450edef68
* 2nd try - indenting fix per change 1078507 - style fixtdonovan2011-03-111-5/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1080404 13f79535-47bb-0310-9956-ffa450edef68
* indenting fix per change 1078507 - style fixtdonovan2011-03-111-3/+4
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1080403 13f79535-47bb-0310-9956-ffa450edef68
* apr_dbd odbc: Fix stack buffer overwrite when an unexpected trawick2011-03-091-3/+13
| | | | | | | number of parameters is passed to open. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1079901 13f79535-47bb-0310-9956-ffa450edef68
* zap the never-used apr_env_get() retcodetrawick2011-03-091-2/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1079872 13f79535-47bb-0310-9956-ffa450edef68
* replace some strcpy() calls with apr_cpystrn()trawick2011-03-071-3/+6
| | | | | | | (no overflow currently) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1078744 13f79535-47bb-0310-9956-ffa450edef68
* fix some existing parameter range checking that had a badtrawick2011-03-071-3/+10
| | | | | | | | | assumption about the size of array entries add the same range check in another path git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1078737 13f79535-47bb-0310-9956-ffa450edef68
* NetWare build overhaul in order to compile on Linux.fuankg2011-03-065-13/+9
| | | | | | | | Fix for crappy linker which cant deal with absolute unix paths for import files. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1078631 13f79535-47bb-0310-9956-ffa450edef68
* NetWare build overhaul in order to compile on Linux.fuankg2011-03-065-5/+5
| | | | | | | Part 5. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1078617 13f79535-47bb-0310-9956-ffa450edef68
* NetWare build overhaul in order to compile on Linux.fuankg2011-03-066-52/+27
| | | | | | | Part 4. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1078559 13f79535-47bb-0310-9956-ffa450edef68
* style changes only -- make it look a lot more like the bulk of APRtrawick2011-03-061-224/+265
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1078507 13f79535-47bb-0310-9956-ffa450edef68
* Fix endianness issue in Oracle driverniq2011-01-301-1/+3
| | | | | | | PR 50690 - Patch from Stefan Ruppert git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1065258 13f79535-47bb-0310-9956-ffa450edef68
* fix compiler warning for non-static function with no prototypetrawick2010-09-241-3/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1001074 13f79535-47bb-0310-9956-ffa450edef68
* DBD ODBC support: Fix memory corruption using apr_dbd_datum_get() withtrawick2010-09-241-1/+1
| | | | | | | | | | | several different data types, including APR_DBD_TYPE_TIME. PR: 49645 Submitted by: <kappa psilambda.com> Reviewed by: trawick git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1001073 13f79535-47bb-0310-9956-ffa450edef68
* Fix various issues found by cppchecksf2010-07-271-1/+1
| | | | | | | | | | | | - error handling issues - use of uninitialized data - null pointer dereference - unused variables - memory/fd leaks - broken code in threadproc/beos/proc.c git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@979891 13f79535-47bb-0310-9956-ffa450edef68
* Copy memory returned by dbd_mysql_get_entryniq2010-07-201-3/+11
| | | | | | | PR 46421 tells us this is necessary, though it looks as if it shouldn't be. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@965687 13f79535-47bb-0310-9956-ffa450edef68
* Fix a trunk-only problem opening dbd drivers:trawick2010-04-071-0/+1
| | | | | | | | | | apr_version.h wasn't included, so APR_MAJOR_VERSION wasn't defined, so APR_STRINGIFY(APR_MAJOR_VERSION) returned "APR_MAJOR_VERSION", so we tried to open something like "apr_dbd_sqlite3-APR_MAJOR_VERSI". git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@931574 13f79535-47bb-0310-9956-ffa450edef68
* * Define DRIVER_APR_VERSION_*rpluem2009-12-231-2/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@893538 13f79535-47bb-0310-9956-ffa450edef68
* Fix breakage observed by rpluem, I hopewrowe2009-12-221-2/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@893346 13f79535-47bb-0310-9956-ffa450edef68
* Refactor away apu_version legacy cruftwrowe2009-12-213-12/+10
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@892984 13f79535-47bb-0310-9956-ffa450edef68
* Two missed APU_MODULE_DECLARE_DATA fixeswrowe2009-12-171-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@891841 13f79535-47bb-0310-9956-ffa450edef68
* Refactoring to drop apr_config.h, renamed APU_MODULE_DECLARE_DATAwrowe2009-12-178-13/+14
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@891835 13f79535-47bb-0310-9956-ffa450edef68
* The resource stub name changes for the libapr migrationwrowe2009-12-176-6/+6
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@891495 13f79535-47bb-0310-9956-ffa450edef68
* * Silence compiler warningrpluem2009-12-011-0/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@885813 13f79535-47bb-0310-9956-ffa450edef68
* * mysql_options() requires a pointer as third argument, not a value.rpluem2009-11-261-6/+10
| | | | | | | | | PR: 48251 Submitted by: Marko Kevac <mkevac gmail.com> Reviewed by: rpluem git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@884697 13f79535-47bb-0310-9956-ffa450edef68
* Support connecttimeout, readtimeout and writetimeout MySQL optionsniq2009-11-201-0/+17
| | | | | | | | | PR 48251 Submitted by Marko Kevac git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@882650 13f79535-47bb-0310-9956-ffa450edef68
* remove dangling ";" after function body to resolvetrawick2009-10-211-1/+1
| | | | | | | | "warning: syntax error: empty declaration" from SunStudio git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@827846 13f79535-47bb-0310-9956-ffa450edef68
* Reorder the config into sanity, prefer include/mysql/ structurewrowe2009-08-031-11/+12
| | | | | | | | | | | | | | | if found, and *be consistent*. Includes rpluem's patch to maintain load order of these cleaned up includes. It appears my_sys.h is actually not required for my_init(), and it certainly won't compile under Visual C/Win32. So carefully omit it only on platforms where my_sys.h is not found/not usable, and retain the existing unix compilation. Forward ports: 799780, 800402, 800431 git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@800505 13f79535-47bb-0310-9956-ffa450edef68
* Add dbd_mysql_num_cols to the list of declared functions.minfrin2009-07-281-0/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@798689 13f79535-47bb-0310-9956-ffa450edef68
* Make sure the mysql version of dbd_mysql_get_entry() respects theminfrin2009-07-281-5/+11
| | | | | | | | rule that if the column number exceeds the number of columns, we return NULL. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@798678 13f79535-47bb-0310-9956-ffa450edef68
* Convert various APU_DECLARE into APR_DECLARE.bojan2009-07-161-36/+36
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@794523 13f79535-47bb-0310-9956-ffa450edef68
* added NetWare path sanity check.fuankg2009-07-121-0/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@793389 13f79535-47bb-0310-9956-ffa450edef68
* Use locally scoped variables to avoid stomping on return codes.bojan2009-06-301-18/+18
| | | | | | | PR 47431. Patch by Wayne Jensen <wayne_jensen trendmicro.com>. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@789965 13f79535-47bb-0310-9956-ffa450edef68