David Hall
9a012444ec
MCOL-963 fix for regressions introduced
2017-11-14 15:25:38 -06:00
David Hall
97eb46213b
MCOL-963 reset infinidb_vtable.isNewQuery upon error. Add redo (REDO_PHASE1) counter.
2017-10-30 18:05:19 -05:00
David Hall
b70e9b5f67
MCOL-985 Add return code test after call to buildReturnedColumn
2017-10-24 13:49:46 -05:00
Andrew Hutchings
5911e677fa
MCOL-973 Fix DOUBLE typecast crash
...
DOUBLE typecast was not supported and the failure detection caused a
crash.
This patch adds support for DOUBLE typecast and fixes the crash caused
when a non-supported function is detected as part of an arithmatic.
2017-10-20 12:38:11 +03:00
David Hall
cc9edcb54f
MCOL-783 Check for recursive cte against all tables in the query.
2017-10-09 15:38:00 -05:00
David Hall
ff76412f68
MCOL-783 Check for recursive only cte. Check all cte in list.
2017-10-09 15:37:41 -05:00
David Hall
805300341c
MCOL-783 Error not supported for recursive CTE
2017-10-05 11:07:47 -05:00
David Hall
bc2a4e7795
MCOL-523 Add UDAF and UDAnF SDK
2017-08-02 11:22:07 -05:00
Andrew Hutchings
d76c111690
Support ORDER BY NULL
2017-07-11 15:15:11 +01:00
Andrew Hutchings
e58333d4f2
MCOL-657 Support the <=> operator
...
This converts <=> into "a = b OR (a IS NULL AND b IS NULL)"
2017-05-09 11:57:28 +01:00
dhall-InfiniDB
1c2a8fccf3
Merge pull request #164 from mariadb-corporation/MCOL-697
...
MCOL-697 Limit the return length for LONGBLOB
2017-05-03 17:18:49 -05:00
Andrew Hutchings
e03267ae4b
MCOL-697 Limit the return length for LONGBLOB
...
For LONGBLOB the string return length was 4GB for functions which got
converted to -1 and then to 20. This patch sets it to just under 2GB
which we use for LONGBLOB everywhere else.
2017-05-03 21:30:25 +01:00
dhall-InfiniDB
cb788c0be2
Merge pull request #163 from mariadb-corporation/MCOL-697
...
MCOL-697 Remove 64KB VARCHAR response limit
2017-05-03 09:43:29 -05:00
Andrew Hutchings
de06c48b6c
MCOL-697 Remove 64KB VARCHAR response limit
...
This was a hard coded limit due to StringStore not being able to handle
more than this. It restricts hex() unnecessarily and is now redundant.
2017-05-03 08:07:56 +01:00
dhall-InfiniDB
d98d40bdb4
Merge pull request #160 from mariadb-corporation/MCOL-686
...
MCOL-686 Fix BETWEEN performance
2017-05-02 17:10:34 -05:00
Andrew Hutchings
057f731713
MCOL-686 Fix BETWEEN performance
...
BETWEEN was executing as a function on each row which meant that extent
elimination couldn't happen. We now execute as a predicate function
instead.
2017-04-27 17:32:19 +01:00
David Hall
f6caa88703
MCOL-597 merge with 10.2.5
2017-04-25 16:49:32 -05:00
David Hall
b9d06e2bf2
MCOL-597 some clean up and make Release builds work
2017-04-21 10:38:51 -05:00
David Hall
b15f79e8ce
MCOL-597 Fix up Windows Functions
2017-04-21 10:38:44 -05:00
David Hall
324a9fd215
MCOL-597 Fix up Windows Functions
2017-04-21 10:38:44 -05:00
David Hall
3055964ddc
MCOL-597 stabilization
2017-04-21 10:38:44 -05:00
David Hall
12acd033fb
MCOL-597 Take Window Functions just to get a compile. No other changes were needed.
2017-04-21 10:38:44 -05:00
David Hall
b070ef3217
MCOL-597 some clean up and make Release builds work
2017-04-21 09:48:59 -05:00
David Hall
d531796bf2
MCOL-597 Fix up Windows Functions
2017-04-21 09:47:56 -05:00
David Hall
d7da34c249
MCOL-597 Fix up Windows Functions
2017-04-21 09:47:56 -05:00
David Hall
a3c4503bc9
MCOL-597 stabilization
2017-04-21 09:47:56 -05:00
David Hall
f9e5b7b507
MCOL-597 Take Window Functions just to get a compile. No other changes were needed.
2017-04-21 09:47:56 -05:00
Andrew Hutchings
8baf0590a4
MCOL-653 Revert SUM(1) behaviour
...
SUM(1) behaviour was changed as part of MCOL-301. But the original
behaviour was correct.
2017-03-31 21:47:12 +01:00
Andrew Hutchings
27e5995cd3
MCOL-267 Add basic engine support
...
This patch adds enough support so that cross engines joins with blob
columns in the foreign engines will work. The modifications are as
follows:
* Add CrossEngine support for non-NULL-terminated (binary) data
* Add row data support for blobs (similar to varbinary)
* Add engine support for writing out blob data correctly to the storage
engine API
* Re-enable blob support in the engine plugin
2017-03-17 09:27:50 +00:00
David Hall
c2344accc9
MCOL-513 clean up and test thread pool for ExeMgr
2017-02-09 18:00:00 -06:00
Andrew Hutchings
641fd2bfe2
MCOL-494 Don't try to process BLOB/TEXT
...
It is possible for a BLOB/TEXT column to appear in a cross engine join.
This causes an ExeMgr crash later during execution. For now this patch
disable BLOB/TEXT support.
2017-01-10 07:33:00 -06:00
Andrew Hutchings
98f92d53b2
MCOL-301 Fix nested arithmatic in aggregate
...
Arithmatic on two functions inside an aggregate function caused an error
due to the function not being parsed correctly. This fix parses the
function for the arithmatic.
2016-12-16 21:42:52 +00:00
Andrew Hutchings
5376d4b290
MCOL-301 fix SUM() with constants
...
If SUM() has constants return the MAX() instead of constant * rows.
2016-12-15 17:13:02 +00:00
Andrew Hutchings
14a9581bb6
MCOL-385 Fix crash observed with 10.1.19 merge
...
Appears to be a regression introduced in MCOL-361 which was causing a
segault with bug3670.negative.sql
2016-11-07 21:04:26 +00:00
David Hall
086a98794e
MCOL-361 String::c_ptr() can cause a realloc and break things. Remove all uses of c_ptr to String objects from the server.
2016-11-01 16:07:13 -05:00
David Hall
331dfd3a4c
Add better cache explanations to debug_walk. This is debug only.
2016-10-27 15:39:50 -05:00
David Hall
e4f93ea2f2
MCOL-46 subquery sometimes causes unknown error
...
This was caused by Item_cache::val_str() sometimes causing a full exec of subquery before we're ready
2016-10-12 13:30:35 -05:00
David Hall
d50721d65a
MCOL-343 Change references to String::ptr() into String::c_ptr()
2016-10-03 15:54:55 -05:00
David Hall
09276ff885
Comment debug lines. Change a debug line to be more useful.
2016-09-01 13:01:33 -05:00
David Hall
10e5ed83ce
MCOL-5 We've had problems with CREATE and DELETE crashing. Add some better error handling
2016-08-12 16:57:51 -05:00
david hill
e9d96ddc85
copyright additions
2016-06-01 20:03:20 -05:00
david hill
3a6d4c3fd2
Revert "copyright name change"
...
This reverts commit 7000f6e4f2eadf5bafccf7b459b3a3eff229d426.
2016-06-01 17:54:28 -05:00
david hill
7000f6e4f2
copyright name change
2016-06-01 14:54:11 -05:00
David Hall
c1c82a606b
MCOL-2 Change error and message text to Columnstore
2016-05-27 14:40:19 -05:00
David Hall
2fa2a214c6
MCOL-81 - optimizer override bug
2016-05-24 17:42:17 -05:00
David Hall
4ba6ce790e
MCOL-23 working_tpch1_compareLogOnly/onClauseJoins/bug4031.sql: A better solution
2016-05-23 18:41:00 -05:00
David Hall
71ecd3212b
MCOL-23 working_tpch1_compareLogOnly/onClauseJoins/bug4031.sql: Create a better search for the correct TABLE_LIST* object.
2016-05-23 18:34:25 -05:00
David Hall
eb36fa5e7e
MCOL-2 Update engine name to columnstore part 2
2016-05-18 17:31:44 -05:00
David Hall
80437a0083
MCOL-2 Update engine name to columnstore
2016-05-18 17:28:50 -05:00
root
94a3174688
Fix XOR handling in gp_walk to be consistent with other logical operators . XOR is no more ITEM_COND, but ITEM_FUNC
2016-05-18 17:15:57 +02:00