libgda r2876 - in trunk: . doc/C/tmpl libgda providers/sqlite tests
- From: vivien svn gnome org
- To: svn-commits-list gnome org
- Subject: libgda r2876 - in trunk: . doc/C/tmpl libgda providers/sqlite tests
- Date: Mon, 26 Mar 2007 17:05:03 +0100 (BST)
Author: vivien
Date: 2007-03-26 17:05:02 +0100 (Mon, 26 Mar 2007)
New Revision: 2876
ViewCVS link: http://svn.gnome.org/viewcvs/libgda?rev=2876&view=rev
Added:
trunk/tests/bug_param_sql.xml
trunk/tests/bug_param_sql_dict.xml
Modified:
trunk/ChangeLog
trunk/doc/C/tmpl/gda-query-field-value.sgml
trunk/libgda/gda-dict-reg-aggregates.c
trunk/libgda/gda-dict-reg-functions.c
trunk/libgda/gda-query-field-value.c
trunk/libgda/gda-query-parsing.c
trunk/libgda/gda-query.c
trunk/libgda/gda-query.h
trunk/providers/sqlite/gda-sqlite-provider.c
trunk/tests/Makefile.am
trunk/tests/all_sql_tests.xml
trunk/tests/basic_sql.xml
trunk/tests/check_delimiter.c
trunk/tests/prov_sql.xml
trunk/tests/test-util.c
trunk/tests/test-util.h
Log:
2007-03-26 Vivien Malerba <malerba gnome-db org>
* libgda/gda-query.h: added a GDA_QUERY_PARAM_TYPE_ERROR type of error
* libgda/gda-query.c: default the data type to G_TYPE_STRING when a parameter's type
is unknown and when type of query is GDA_QUERY_TYPE_NON_PARSED_SQL
* libgda/gda-query.c: don't crash when @priv->all_conds is not NULL as expected
because this can happen in case the user kept some reference on some GdaQueryCondition
object
* libgda/gda-query-field-value.c: added a new "string_type" property used when
rendering SQL to render type as it was specified
* libgda/gda-query-parsing.c: better determination of data type for values
* libgda/gda-query-parsing.c: avoid GdaQueryCondition object reference leak
* libgda/gda-query-parsing.c: default the data type to G_TYPE_STRING when a parameter's type
is unknown instead of refusing to parse the query
* libgda/gda-dict-reg-functions.c: don't crash if the dictionary does not handle
functions
* libgda/gda-dict-reg-aggregates.c: don't crash if the dictionary does not handle
aggregates
* tests/check_delimiter.c: don't fail to build tests when the "check" library is
not installed
* tests/*: added new test cases and added some flexibility in the way to test
SQL rendering
* tests/test-util.c: try to run all tests both without any dictionary, and with one
if a dictionary file is specified
* providers/sqlite/gda-sqlite-provider.c: now use the recommended sqlite3_prepare_v2 SQlite API,
and improved notices contents
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]