summaryrefslogtreecommitdiff
path: root/mysys/ma_dyncol.c
Commit message (Collapse)AuthorAgeFilesLines
* cleanup: PSI key is *always* the first argumentSergei Golubchik2020-03-101-1/+1
|
* perfschema memory related instrumentation changesSergei Golubchik2020-03-101-14/+23
|
* perfschema - various collateral cleanups and small changesSergei Golubchik2020-03-101-4/+2
|
* Merge bb-10.2-ext into 10.3Marko Mäkelä2018-02-151-2/+58
|\
| * Merge 10.1 into 10.2Marko Mäkelä2018-02-081-1/+1
| |\
| | * Merge 10.0 into 10.1Marko Mäkelä2018-02-081-1/+1
| | |\
| | | * MDEV-15230: column_json breaks cyrillic in 10.1.31Oleksandr Byelkin2018-02-071-1/+1
| | | | | | | | | | | | | | | | Use unsigned comparison.
| * | | Merge branch 'github/10.1' into 10.2Sergei Golubchik2018-02-061-2/+58
| |\ \ \ |/ / / / | | _ / | | /
| * | Merge branch 'github/10.0' into 10.1Sergei Golubchik2018-02-021-2/+58
| |\ \ | | |/
| | * MDEV-7533: COLUMN_JSON() doesn't escape control characters in string valuesOleksandr Byelkin2018-01-231-2/+58
| | | | | | | | | | | | | | | escape all charecters less or equal 0x1F (control symbols) (shorter sequence are not used to make code simple, long encoding is always legal according to the rfc4627)
* | | Merge 10.1 into 10.2Marko Mäkelä2017-12-141-2/+1
|\ \ \ | |/ /
| * | Merge 10.0 into 10.1Marko Mäkelä2017-12-121-2/+1
| |\ \ | | |/
| | * MDEV-8949: COLUMN_CREATE unicode name breakageOleksandr Byelkin2017-11-141-2/+1
| | | | | | | | | | | | Use utf-mb4 if it is possible.
* | | Merge 10.1 into 10.2Marko Mäkelä2017-05-231-0/+2
|\ \ \ | |/ /
| * | Merge 10.0 into 10.1Marko Mäkelä2017-05-231-0/+1
| |\ \ | | |/
| | * MDEV-6262 analyze the coverity report on mariadbSergei Golubchik2017-05-191-0/+1
| | | | | | | | | | | | | | | uploaded 10.0, analyzed everything with the Impact=High (and a couple of Medium)
| * | Merge 10.0 into 10.1Marko Mäkelä2017-05-201-0/+1
| |\ \ | | |/ | | | | | | | | | | | | Significantly reduce the amount of InnoDB, XtraDB and Mariabackup code changes by defining pfs_os_file_t as something that is transparently compatible with os_file_t.
| | * Fixed typo in the case operator.Oleksandr Byelkin2017-05-181-0/+1
| | |
* | | Merge branch '10.1' into 10.2Sergei Golubchik2017-03-301-4/+4
|\ \ \ | |/ /
| * | spelling fixesklemens2017-03-071-5/+5
| | |
* | | Fix many -Wconversion warnings.Marko Mäkelä2017-03-071-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Define my_thread_id as an unsigned type, to avoid mismatch with ulonglong. Change some parameters to this type. Use size_t in a few more places. Declare many flag constants as unsigned to avoid sign mismatch when shifting bits or applying the unary ~ operator. When applying the unary ~ operator to enum constants, explictly cast the result to an unsigned type, because enum constants can be treated as signed. In InnoDB, change the source code line number parameters from ulint to unsigned type. Also, make some InnoDB functions return a narrower type (unsigned or uint32_t instead of ulint; bool instead of ibool).
* | | Fixed compiler warnings and test failures found by buildbotMonty2016-06-241-7/+7
| | | | | | | | | | | | Fixed ccfilter to detect errors where the column is included in the error message
* | | General spell fixing in comments and stringsOtto Kekäläinen2016-06-081-1/+1
|/ /
* | Merge branch '10.0' into 10.1Oleksandr Byelkin2016-03-241-1/+1
|\ \ | |/
| * MDEV-9773: Memory corruption in mariadb_dyncol_unpackOleksandr Byelkin2016-03-241-1/+1
| | | | | | | | Fixed calculating pointer to memory allocated for names in numeric format in unpacking procedure.
* | Merge branch '10.0' into 10.1Sergei Golubchik2015-12-211-6/+5
|\ \ | |/
| * MDEV-9167: COLUMN_CHECK fails on valid decimal dataOleksandr Byelkin2015-12-161-1/+2
| | | | | | | | | | | | Check now allows zero length decimals too. (backporting Adam Chainz patch to 10.0)
| * MDEV-8521 Drastic loss of precision in COLUMN_JSON() on DOUBLEsOleksandr Byelkin2015-12-101-1/+3
| | | | | | | | fixed conversion
| * MDEV-8401 COLUMN_CREATE(name, value as DOUBLE) results in stringOleksandr Byelkin2015-12-101-4/+0
| | | | | | | | Double representation fixed (JSON is valid even with 'e' in the number)
* | Merge branch '10.0' into 10.1Sergei Golubchik2015-11-191-2/+4
|\ \ | |/
| * MDEV-8565: COLUMN_CHECK fails on valid dataOleksandr Byelkin2015-10-191-2/+4
| | | | | | | | Check allows zero lengts int/uint now.
* | - Renaming variables so that they don't shadow others (After this patch one ↵Monty2015-07-061-4/+3
|/ | | | | | | | | | | | | | | | | | | | | | | can compile with -Wshadow and get much fewer warnings) - Changed ER(ER_...) to ER_THD(thd, ER_...) when thd was known or if there was many calls to current_thd in the same function. - Changed ER(ER_..) to ER_THD_OR_DEFAULT(current_thd, ER...) in some places where current_thd is not necessary defined. - Removing calls to current_thd when we have access to thd Part of this is optimization (not calling current_thd when not needed), but part is bug fixing for error condition when current_thd is not defined (For example on startup and end of mysqld) Notable renames done as otherwise a lot of functions would have to be changed: - In JOIN structure renamed: examined_rows -> join_examined_rows record_count -> join_record_count - In Field, renamed new_field() to make_new_field() Other things: - Added DBUG_ASSERT(thd == tmp_thd) in Item_singlerow_subselect() just to be safe. - Removed old 'tab' prefix in JOIN_TAB::save_explain_data() and use members directly - Added 'thd' as argument to a few functions to avoid calling current_thd.
* MDEV-7116: Dynamic column hangs/segfaultsunknown2014-11-171-1/+0
| | | | Going to 'create_new_string:' caused double freeing alloc_plan (there and at 'end:').
* MDEV-6314 - Compile/run MariaDB with ASanSergey Vojtovich2014-06-101-1/+1
| | | | Fixed some compilation errors/warnings with ASan.
* MDEV-5404 Can't free data returned by mariadb_dyncol_unpack on windowsSergei Golubchik2014-03-191-0/+12
| | | | add mariadb_dyncol_unpack_free()
* MDEV-5173 Cppcheck reportSergei Golubchik2014-03-191-3/+3
| | | | fixed bugs, found by cppcheck
* MDEV-5314 - Compiling fails on OSX using clangSergey Vojtovich2014-02-191-1/+1
| | | | | | | | | | | | | This is port of fix for MySQL BUG#17647863. revno: 5572 revision-id: jon.hauglid@oracle.com-20131030232243-b0pw98oy72uka2sj committer: Jon Olav Hauglid <jon.hauglid@oracle.com> timestamp: Thu 2013-10-31 00:22:43 +0100 message: Bug#17647863: MYSQL DOES NOT COMPILE ON OSX 10.9 GM Rename test() macro to MY_TEST() to avoid conflict with libc++.
* 10.0-base merge.Sergei Golubchik2013-09-211-7/+11
|\ | | | | | | | | Partitioning/InnoDB changes are *not* merged (they'll come from 5.6) TokuDB does not compile (not updated to 10.0 SE API)
| * 5.5 merge and fixes for compiler/test errorsSergei Golubchik2013-09-181-4/+5
| |\
| | * MDEV-4941 make: AIX fails with 'Identifier not allowed in cast'; syntax ↵Sergei Golubchik2013-09-091-3/+6
| | | | | | | | | | | | | | | | | | error in include/my_global.h C++ comments in C files, and a typo in my_global.h
| * | new format length calculation check added.unknown2013-08-201-2/+4
| | |
| * | merge 5.5 -> 10.0-baseunknown2013-08-201-1/+2
| |\ \ | | |/
| | * Merge from 5.3Alexander Barkov2013-08-121-9/+18
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | modified: mysql-test/r/dyncol.result mysql-test/r/type_time.result mysql-test/t/dyncol.test mysql-test/t/type_time.test mysys/ma_dyncol.c sql/item.cc sql/item_func.cc pending merges: Alexander Barkov 2013-08-12 MDEV-4652 Wrong result for CONCAT(GREATEST(T... sanja@montyprogr... 2013-08-01 MDEV-4811 Assertion `offset < 0x1f' f...
| | | * MDEV-4811 Assertion `offset < 0x1f' fails in type_and_offset_store on COLUMN_ADDunknown2013-08-011-9/+18
| | | | | | | | | | | | | | | | | | | | | | | | MDEV-4812 Valgrind warnings (Invalid write) in dynamic_column_update_many on COLUMN_ADD Fixed problem of working on wrong data (do not allow offset to out of string length).
* | | | MDEV-4993:Impossible to free a dynamic columnunknown2013-09-171-18/+27
| | | | | | | | | | | | | | | | Fix of API of dynamic columns (it made uniform and real function used to free the string).
* | | | MDEV-4995: mariadb_dyncol_column_count returns error when passing an empty ↵unknown2013-09-111-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | dynamic column An empty string processing added to mariadb_dyncol_column_count().
* | | | MDEV-4994: Crash in dynamic column APIunknown2013-09-111-9/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Dynamic columns unittest fix. Correct processing of empty string added to creation dynamic string procedure List function of numeric format fixed when empty string passed. Unit test calls changed to new ones. Unit test added to cmake file.
* | | | Merging my_convert() from 10.0-sergAlexander Barkov2013-08-011-10/+9
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | modified: include/m_ctype.h mysys/ma_dyncol.c mysys/string.c sql/sql_string.cc sql/sql_string.h strings/ctype.c
* | | remove ULL() and LL(), because they're totally unnecessarySergei Golubchik2013-04-071-4/+4
| | | | | | | | | | | | and sometimes harmful (used with expressions)
* | | cleanup:Sergei Golubchik2013-01-231-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * remove unused mysql_option * don't allocate 5GB of memory in the mtr tests * restore the behavior in dynamic_column_offset_byte(), put the ifdef correctly * prefer __attribute__((unused)) to #ifdef * prefer UNINIT_VAR to LINT_INIT * make most Warning_info users blissfully unaware of the postponed initialization * use my_offsetof instead of offsetof where the compiler thinks the latter is incorrect