office-gobmx/dbaccess
Lionel Elie Mamane a261e36481 fdo#44813: don't replace NULLs given by the database by type-default values
It makes no sense, because non-nullable columns can have NULL value.
E.g. in "foo LEFT JOIN bar ON condition", the non-nullable columns of "bar"
when it has no row matching "condition".

Even when we are about to insert/update a row, we should not put a
hard-coded value (that just happens to be the one constructed by the
C++ default constructor for that type) in non-nullable columns: there
is no guarantee that this value makes sense in that database's context.
The database may or may not have a default value set for that column.
If it has, we should leave it up to the database to set it automatically.
If it has not, an error *is* the right reaction.

Another place where this substitution does damage is when we refresh a
row. We use the values we have read from the primary key to select the
row again. So we should not mangle those, else the select returns no
row and we mistakingly think the row has been deleted.
2012-01-17 15:47:43 +01:00
..
inc
prj build qadevOOo only if OOO_JUNIT_JAR are set (add BUILD_TYPE) 2011-12-30 16:40:35 +01:00
qa
source fdo#44813: don't replace NULLs given by the database by type-default values 2012-01-17 15:47:43 +01:00
uiconfig
util
win32/source/odbcconfig
AllLangResTarget_adabasui.mk
AllLangResTarget_dba.mk
AllLangResTarget_dbmm.mk
AllLangResTarget_dbu.mk fix dep to svx/globlmn.hrc inside of tail_build 2012-01-04 01:48:49 -06:00
AllLangResTarget_dbui.mk fix dep to svx/globlmn.hrc inside of tail_build 2012-01-04 01:48:49 -06:00
AllLangResTarget_sdbt.mk
Executable_odbcconfig.mk
JunitTest_dbaccess_complex.mk
JunitTest_dbaccess_unoapi.mk
Library_adabasui.mk
Library_dba.mk
Library_dbaxml.mk msvc 2008 express won't link without explicit salhelper 2011-12-19 11:59:26 +00:00
Library_dbmm.mk
Library_dbu.mk
Library_dbui.mk use INCLUDE instead of SOLARINC, and after local includes 2012-01-13 22:42:33 +01:00
Library_sdbt.mk
Makefile in modules, when we have a env we are in stage gbuild 2011-12-07 15:53:06 +01:00
Module_dbaccess.mk
Package_inc.mk
Package_uiconfig.mk
Package_xml.mk