Commit graph

962 commits

Author SHA1 Message Date
pekka@mysql.com
b9ec6803ae NDB blobs - try to handle insert-update-delete under autocommit=0 2004-11-03 20:21:56 +01:00
tomas@poseidon.ndb.mysql.com
0fd9d08c01 changed to use the future-proof option to ndb_mgmd
there was a clash in using -c, added -f as the future proof switch
2004-11-03 14:34:21 +00:00
joreland@mysql.com
1c9297329c Changed implementation in NdbDaemon slightly to handle
bug lockf & F_TEST on linux alpha,sparc,sparc64

(http://sources.redhat.com/ml/libc-alpha/2000-10/msg00390.html)
2004-11-03 11:29:19 +01:00
joreland@mysql.com
07b25eaaa6 Changed order or template specializations (to make aCC on hpita2 not assert) 2004-11-03 09:02:55 +01:00
joreland@mysql.com
629f5b6b7e Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1
2004-11-02 20:40:56 +01:00
tomas@poseidon.ndb.mysql.com
c54d36b066 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
2004-11-02 19:40:54 +00:00
tomas@poseidon.ndb.mysql.com
ded5595cb2 add compile flad -DSNPRINTF_RETURN_TRUNC on hp ux 11
remove compiler warning
    patch for my_vsnprintf not dully implemented
    patch for platfroms that return -1 on snprintf overflow
    compile fix for hpux
2004-11-02 19:40:10 +00:00
joreland@mysql.com
0f2d06abc4 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1
2004-11-02 15:37:53 +01:00
joreland@mysql.com
08618e97c8 Make sure that Int8(16,32,64) is signed
Better fix for previous build issue
2004-11-02 15:37:26 +01:00
pekka@mysql.com
d84dbdfcad Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/space/pekka/ndb/version/my41
2004-11-02 14:25:30 +01:00
joreland@mysql.com
8d34e2d45b build issue
Fix so that signed/unsigned char does not matter in comparision
2004-11-02 13:58:22 +01:00
pekka@mysql.com
6563fa1c8b NDB fix blob parts distribution - backwards compatible 2004-11-02 13:15:55 +01:00
tomas@poseidon.ndb.mysql.com
4768c83872 removed unused member variable (probably causing some of the problems we've seen with ndb_mgmd) 2004-11-01 22:27:29 +00:00
tomas@poseidon.ndb.mysql.com
8ec96081fd Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
2004-11-01 18:22:34 +00:00
tomas@poseidon.ndb.mysql.com
ebd0ee4a0d fix for solaris forte -instances=static
added libNDBT.a
   removed printout
    fixed error that ndb_show_tables required table name
2004-11-01 18:21:57 +00:00
pekka@mysql.com
ff7e440bb0 NDB blobs restore backwards compatibility 2004-11-01 16:04:36 +01:00
pekka@mysql.com
21984b0caa Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/space/pekka/ndb/version/my41
2004-11-01 15:43:54 +01:00
tomas@poseidon.ndb.mysql.com
98b43e7f24 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
2004-11-01 14:25:40 +00:00
tomas@poseidon.ndb.mysql.com
29ab709764 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
2004-11-01 13:56:15 +00:00
tomas@poseidon.ndb.mysql.com
41e39c7be3 aligned ndb versioning with mysql
changed define SNPRINTF_RETURN_ZERO to SNPRINTF_RETURN_TRUNC
    added define NDB_INIT
    removed getarg, strlcat, strlcpy
    aligned ndb version with mysql version
    cpcd: removed old way of reading config file and replaced with mysql load_defaults
    changed from using getarg to my_getopts
    use mysql my_progname
    moved getarg to test
2004-11-01 13:55:43 +00:00
pekka@mysql.com
6da0dd791f NDB blob fixes. INCOMPATIBLE with existing blobs 2004-11-01 13:01:20 +01:00
joreland@mysql.com
f8e15a41f5 Removed old not used/illegal declaration 2004-11-01 12:49:38 +01:00
joreland@mysql.com
aababf28a2 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1
2004-11-01 10:51:44 +01:00
joreland@mysql.com
ef167e52bf Fixed hanging ndb_mgmd on various platforms
Move init of node-init-mutex to before alloc node id
2004-11-01 10:38:27 +01:00
pekka@mysql.com
354739acb7 Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/space/pekka/ndb/version/my41
2004-10-31 15:44:35 +01:00
pekka@mysql.com
0669646752 NDB bug-6018 support writeTuple with blobs 2004-10-31 15:33:56 +01:00
tomas@poseidon.ndb.mysql.com
24d38aea13 added define flag SNPRINTF_RETURN_ZERO to indicate that snprintf returns zero if buffer too small
use flag SNPRINTF_RETURN_ZERO
    emulate snprintf behavior by writing to _big_ buffer if set
    use my_vsnprintf if HAVE_SNPRINTF is not set and set SNPRINTF_RETURN_ZERO in that case
2004-10-29 13:59:40 +00:00
tomas@poseidon.ndb.mysql.com
d6481499cf bumped up version for ndb
protocal change in create table, now allows for more than 91 attributes
   upgrade compatability with 3.5.3
2004-10-29 11:25:16 +00:00
tomas@poseidon.ndb.mysql.com
da3efc2b82 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
2004-10-29 10:24:56 +00:00
tomas@poseidon.ndb.mysql.com
19bc50957f Tru64 cxx compiler fix
cxx does not include -I/ust/include.dtk as it should
    removed dependency on ndb_types
2004-10-29 09:49:04 +00:00
tomas@poseidon.ndb.mysql.com
289f68a1b9 test that attribute name truncation works
exposed the attribute name size limit for handler
   added field name truncation to ndb handler
2004-10-28 15:35:06 +00:00
tomas@poseidon.ndb.mysql.com
bbe970beab scan should not send fragmented signal
use new sendSignal method instead
    new send signal method which sends segments
    remove unused method sendFragmentedSignalUnCond
2004-10-28 14:49:40 +00:00
tomas@poseidon.ndb.mysql.com
1f646ecc7c set set "CHUNK_SZ" for fragmented signal to real value
added API_TRACE code
removed old implementation of fragmented signal
2004-10-28 13:50:46 +00:00
tomas@poseidon.ndb.mysql.com
af5f0b95c4 Dbdict.cpp:
changed to using fragmented signals for CREATE_TABLE_REQ
2004-10-28 11:56:09 +00:00
tomas@poseidon.ndb.mysql.com
2d455470b6 ndbapi_limits.h:
corrected define for NDB_MAX_TUPLE_SIZE_IN_WORDS
2004-10-28 11:24:59 +00:00
tomas@poseidon.ndb.mysql.com
0003a8d5a0 added test for max limit of 128 attributes in table
new define for long signal section size
   bumbed up limit for attributes to 128
    use new define in SectionSegment
    some bug fixing of send fragmented signal +
    make chunk size a multiple the dew define for SectionSegment size
2004-10-28 11:19:51 +00:00
tomas@poseidon.ndb.mysql.com
6a6ab95c66 Implemented fragmented signal from API
primarily to enable creation of tables with more attributes than 91 (up to 128)

Intermediate push for testing
CHUNK_SZ will be set higher in real implementation and API_TRACE added
2004-10-27 17:30:12 +00:00
tomas@poseidon.ndb.mysql.com
837f1bd12b Use my_sleep instead of nanosleep for portability 2004-10-26 12:21:19 +00:00
tomas@poseidon.ndb.mysql.com
41bab41df0 removed compiler warning 2004-10-26 10:56:41 +00:00
tomas@poseidon.ndb.mysql.com
ee1acdf0e0 compilation fix for AIX 2004-10-26 09:48:01 +00:00
tomas@poseidon.ndb.mysql.com
40e93b0083 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-ndb
2004-10-25 20:49:09 +00:00
tomas@poseidon.ndb.mysql.com
179a4ca86e fix for alignment bug on solaris 64 bit
removed compiler warning
2004-10-25 20:35:46 +00:00
tomas@poseidon.ndb.mysql.com
3c889df57c removed usage od NDB_MUTEX_INITIALIZER 2004-10-25 16:02:41 +00:00
tomas@poseidon.ndb.mysql.com
95a112061d removed usage of NDB_MUTEX_INITIALIZER 2004-10-25 15:21:49 +00:00
tomas@poseidon.ndb.mysql.com
879d986d99 removed compiler warning 2004-10-25 11:30:33 +00:00
tomas@poseidon.ndb.mysql.com
fbc245e63c removed compiler warning
shortened help text
2004-10-25 10:23:45 +00:00
tomas@poseidon.ndb.mysql.com
62b7e4e26f using my_gethostbyname_r in Ndb_getInAddr 2004-10-25 10:19:45 +00:00
tomas@poseidon.ndb.mysql.com
36a2a5e277 remove compile warning 2004-10-24 15:25:43 +00:00
tomas@poseidon.ndb.mysql.com
84ea2f62e9 removed compiler warnings 2004-10-24 15:09:18 +00:00
tomas@poseidon.ndb.mysql.com
caaf95f33d remove compiler warnings 2004-10-23 09:05:24 +00:00