summaryrefslogtreecommitdiffstats
path: root/include/connectivity
Commit message (Collapse)AuthorAgeFilesLines
* Don't clobber argument on failureLionel Elie Mamane2013-09-131-1/+4
| | | | Change-Id: I709305d4ec3c37d3fc1c2c911551174f8cfbb883
* Remove sal_char* from dbexception and some cleanup.Andrzej J.R. Hunt2013-09-121-43/+11
| | | | | | | Change-Id: I81909e4542bd5e8d1f8ae182c3c17f9bbea9745d Reviewed-on: https://gerrit.libreoffice.org/5881 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* Update implementations of ColumnLocate::findColumn to throw on invalid column.Andrzej J.R. Hunt2013-09-121-0/+13
| | | | | | | Change-Id: I7a9354ecd35a70a005c6c50e38d27de9b33332bd Reviewed-on: https://gerrit.libreoffice.org/5922 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* Remove some unused code from unusedcode.easyMarcos Paulo de Souza2013-09-011-6/+0
| | | | | | | Change-Id: Ic3e96eebbb914c5b905a8c58532ead9cb01dd41d Reviewed-on: https://gerrit.libreoffice.org/5721 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Rearrange createStandardTypePart to not include extraneous parameters.Andrzej J.R. Hunt2013-08-201-3/+0
| | | | | | | | We specifically only want the type identifier but not any autoincrement/ nullabe parameters which have to be modified separately in some databases (e.g. firebird). Change-Id: I8b33bae8ce4aaf5f325c4156955140ad4fb17db7
* Split type-description out of createStandardColumnPart.Andrzej J.R. Hunt2013-08-191-0/+16
| | | | | | | | | | | | | | createStandardColumnPart returns a string that is usable in table creation, the type descriptor (e.g. CHAR(N)) is also useful in column-type altering statements, hence this is split into a separate function. This is needed primarily in the firebird driver where column-type alter statements are in a different form to most dbs. Change-Id: If44554f979f6dd14bf679455978f3f0b44784bf5 Reviewed-on: https://gerrit.libreoffice.org/5432 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* Rename SOLAR_JAVA to ENABLE_JAVA and HAVE_FEATURE_JAVATor Lillqvist2013-08-191-2/+4
| | | | Change-Id: Ib451bdb3c1c2ca42347abfde44651d5cf5eef4f3
* Fix build.Jan Holesovsky2013-07-151-1/+1
| | | | Change-Id: Ia08b6e87b5be3ca2994e0c5fbc6b91c1a800208e
* ORDER BY columns are prioritarily *SELECT* columnsLionel Elie Mamane2013-07-111-0/+8
| | | | | | | | | as opposed to *table* columns, and notwithstanding HSQLDB 1.8 (our embedded database) bugs. Actually, supporting ORDER BY on non-select (but table) columns is OPTIONAL for DBMSs (but quite common) Change-Id: I6725dfda36b09429a78262bff6f3d3e3dd9032b6
* Further fallout from the connectivity SQL parser changesTor Lillqvist2013-07-103-0/+157
| | | | | | | A couple of headers now need to be public because they are indirectly included in other modules. Change-Id: Id01945197b67183a0a042e854289875ae147a0eb
* make SQL grammar Generalised LRLionel Elie Mamane2013-07-101-3/+3
| | | | | | | | | | | | | This fixes parsing failures, like e.g. warn:legacy.osl:30429:1:dbaccess/source/core/api/SingleSelectQueryComposer.cxx:783: OSingleSelectQueryComposer::getColumns: could not parse the column retrieval statement! when opening query "Balance" of https://bugs.freedesktop.org/attachment.cgi?id=71964 OTOH, since we have reduce/reduce conflicts, we might have true ambiguities in our grammar. This change makes the parsing fail in the presence of full-expression ambiguities instead of making a ~arbitrary choice. Change-Id: I88574da91045dd52f198f193c78d144302f298a4
* remove ::connectivity::to(Date)?(Time)?String; same as DBTypeConversion::*Lionel Elie Mamane2013-06-281-5/+0
| | | | | | | Change-Id: I5f2ef1ecff7e2071b55c27b9dc60e7d92950435c Reviewed-on: https://gerrit.libreoffice.org/4563 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* new dbtools::DBTypeConversion::toTimeStringS for time in second precisionLionel Elie Mamane2013-06-271-0/+2
| | | | | | (no fractional second) Change-Id: I8bf448783b24fceae9a750f40887d6296999b203
* include: convert <type> here tooMichael Stahl2013-06-042-4/+4
| | | | | | sed -i "s,<type>\([^<]\+\)</type>,\1," Change-Id: Ibdaeb2c396ad29ced05716142b38c6a1c3e49847
* include: convert type scope="foo"> here tooMichael Stahl2013-06-042-13/+13
| | | | | | sed -i 's,<type scope="\([^"]*\)">\([^<]\+\)</type>,\1::\2,g' Change-Id: I7eb32acd44132de79cc7ac1e7f78b43bb4814d14
* fdo#46808, Convert comphelper::ComponentContext in forms moduleNoel Grandin2013-06-031-7/+2
| | | | Change-Id: I8a9913d964633381f00c0a4885cc655805fa1974
* fdo#46808, Convert ComponentContext in connectivity,extension..Noel Grandin2013-06-033-16/+7
| | | | | | ...modules. Change-Id: Ie61976dc12b514bb85ca42496c0d9173a1c56264
* remove never-generated "predicate_check" entryLionel Elie Mamane2013-04-261-1/+0
| | | | Change-Id: Ib3957fbadf6bfebfaabd5bef09aaf7ab21862cd6
* QueryDesign: in criteria, remove matching column_ref in simple expressionsLionel Elie Mamane2013-04-261-2/+3
| | | | | | Basically, in first children of infix predicates in search_conditions Change-Id: I0e2f8fbdde023b088f33d2e2fcbd41110f0e02a8
* QueryDesign: in criteria, remove column_ref when table *and* column name matchLionel Elie Mamane2013-04-262-0/+5
| | | | | | As opposed to only the column name Change-Id: I261d13f23214f950daa55a5b63cd486e59a0e127
* sal_Bool -> boolLionel Elie Mamane2013-04-261-2/+2
| | | | Change-Id: I157e0e84cbc9832dd863607b8f52359596b51c8c
* execute move of global headersBjoern Michaelsen2013-04-2353-0/+8293
see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a