diff options
author | Olivier Bertrand <bertrandop@gmail.com> | 2013-02-24 01:23:18 +0100 |
---|---|---|
committer | Olivier Bertrand <bertrandop@gmail.com> | 2013-02-24 01:23:18 +0100 |
commit | 2b60525d57e30e668cfe97a8d7d3327577663c79 (patch) | |
tree | b22a2a3d7ad68b7a5214eb0463fa78066b92940c /storage/connect/colblk.cpp | |
parent | a769cb2fc5605ada10bf586fa63750bc79cd658d (diff) | |
download | mariadb-git-2b60525d57e30e668cfe97a8d7d3327577663c79.tar.gz |
- Add support to NULL values. This concern the MYSQL
and ODBC table types. Not supported yet for indexes.
modified:
storage/connect/colblk.cpp
storage/connect/colblk.h
storage/connect/connect.cc
storage/connect/ha_connect.cc
storage/connect/tabmysql.cpp
storage/connect/tabodbc.cpp
storage/connect/valblk.cpp
storage/connect/valblk.h
storage/connect/value.cpp
storage/connect/value.h
storage/connect/xindex.cpp
Diffstat (limited to 'storage/connect/colblk.cpp')
-rw-r--r-- | storage/connect/colblk.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/storage/connect/colblk.cpp b/storage/connect/colblk.cpp index ceb7dcf92a0..027ac5710ab 100644 --- a/storage/connect/colblk.cpp +++ b/storage/connect/colblk.cpp @@ -1,7 +1,7 @@ /************* Colblk C++ Functions Source Code File (.CPP) ************/ -/* Name: COLBLK.CPP Version 1.9 */ +/* Name: COLBLK.CPP Version 2.0 */ /* */ -/* (C) Copyright to the author Olivier BERTRAND 1998-2012 */ +/* (C) Copyright to the author Olivier BERTRAND 1998-2013 */ /* */ /* This file contains the COLBLK class functions. */ /***********************************************************************/ @@ -49,6 +49,7 @@ COLBLK::COLBLK(PCOLDEF cdp, PTDB tdbp, int i) } // endif cdp To_Tdb = tdbp; + Nullable = false; Status = BUF_NO; //Value = NULL; done in XOBJECT constructor To_Kcol = NULL; @@ -190,6 +191,7 @@ bool COLBLK::InitValue(PGLOBAL g) return true; Status = BUF_READY; + Value->SetNullable(Nullable); #ifdef DEBTRACE htrc(" colp=%p type=%d value=%p coluse=%.4X status=%.4X\n", |