summaryrefslogtreecommitdiff
path: root/storage/sphinx
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch '10.3' into 10.4Oleksandr Byelkin2019-12-091-1/+1
|\
| * Lintian complains on spelling errorFaustin Lammler2019-12-021-1/+1
| | | | | | | | | | The lintian check complains on spelling error: https://salsa.debian.org/mariadb-team/mariadb-10.3/-/jobs/95739
* | Merge remote-tracking branch 'origin/10.3' into 10.4Alexander Barkov2019-10-013-4/+33
|\ \ | |/
| * Merge remote-tracking branch 'origin/10.2' into 10.3Alexander Barkov2019-10-013-4/+33
| |\
| | * MDEV-20647 Fix and enable SphinxSE testsRobert Bindar2019-09-303-4/+33
| | |
* | | Merge 10.3 into 10.4Marko Mäkelä2019-09-233-3/+37
|\ \ \ | |/ / | | | | | | Disable MDEV-20576 assertions until MDEV-20595 has been fixed.
| * | Merge 10.2 into 10.3Marko Mäkelä2019-09-233-3/+37
| |\ \ | | |/
| | * MDEV 19205 Sphinx unable to connect using a host nameAnel Husakovic2019-09-202-0/+33
| | | | | | | | | | | | | | | | | | | | | - Enable the test `sphinx.sphinx` which was disabled by MDEV 10986, comit ee0094d2fd48dac0c - Add test case to `sphinx.sphinx` to cover host as localhost instead of `127.0.0.1` - Add result file for single test
| | * Fix Caribe 19992019-09-201-3/+4
| | | | | | | | | | | | | | | There's an annoying bug that prevents a Sphinx table to connect to a searchd using a host name. So the example table in the documentation https://mariadb.com/kb/en/library/about-sphinxse/#basic-usage that point's to "localhost" actually doesn't work. After some investigation I found two errors. The first one is a wrong check after the getaddrinfo call. The second is a wrong usage of the returned struct.
* | | Merge 10.3 into 10.4Marko Mäkelä2019-08-311-3/+6
|\ \ \ | |/ /
| * | Merge 10.2 into 10.3Marko Mäkelä2019-08-291-3/+6
| |\ \ | | |/
| | * Merge 10.1 into 10.2Marko Mäkelä2019-08-281-3/+6
| | |\
| | | * Fix -Wstringop-truncationMarko Mäkelä2019-08-221-3/+6
| | | | | | | | | | | | | | | | | | | | For the Sphinx storage engine, this is a functional change (bug fix): we will ensure that the message buffer is always NUL-terminated.
| | | * MDEV-16544 - crash in ha_sphinx::create()mariadb-10.1.35Vladislav Vaintroub2018-08-041-1/+1
| | | | | | | | | | | | | | | | | | | | Use table_arg that was passed to the function, instead of dereferencing this->table, which is a NULL pointer.
| | * | Merge 10.1 into 10.2Marko Mäkelä2018-05-291-4/+7
| | |\ \ | | | |/
| | | * Fixed compiler warningsMonty2018-05-261-45/+42
| | | | | | | | | | | | | | | | When merging this with 10.2 and later, one can just use the 10.2 or later code
* | | | fix buildEugene Kosov2019-07-052-2/+2
| | | |
* | | | Merge 10.3 into 10.4Marko Mäkelä2018-08-161-1/+1
|\ \ \ \ | |/ / /
| * | | MDEV-16544 - crash in ha_sphinx::create()Vladislav Vaintroub2018-08-051-1/+1
| | | | | | | | | | | | | | | | | | | | Use table_arg that was passed to the function, instead of dereferencing this->table, which is a NULL pointer.
* | | | MDEV-14630 Replace {STRING|INT|REAL|DECIMAL|DATE}_ITEM to CONST_ITEMAlexander Barkov2018-06-061-2/+6
|/ / /
* | | Fixed wrong usage of variable in ha_sphinx.ccMonty2018-05-271-1/+1
| | | | | | | | | | | | This only affected printing of errors
* | | Removed even more warning that was found with -WunusedMonty2018-04-302-4/+4
| | | | | | | | | | | | | | | | | | - Removed test if HA_FT_WTYPE == HA_KEYTYPE_FLOAT as this never worked (HA_KEYTYPE_FLOAT is an enum) - Define HA_FT_MAXLEN to 126 (was tested before but never defined)
* | | Merge 10.2 into 10.3Marko Mäkelä2018-04-241-6/+0
|\ \ \ | |/ /
| * | Remove unused function FixNull()Marko Mäkelä2018-04-241-6/+0
| | |
| * | Merge branch '10.1' into 10.2Vicențiu Ciorbaru2018-04-101-4/+4
| |\ \ | | |/
| | * Fixed compiler warnings in sphinxMonty2018-03-261-4/+4
| | |
* | | Fixed compiler warningsMonty2018-03-291-4/+4
| | | | | | | | | | | | Remove compiler warnings in sphinx, item_sum.cc and opt_split.cc
* | | Merge bb-10.2-ext into 10.3Marko Mäkelä2018-02-151-9/+9
|\ \ \
| * \ \ Merge remote-tracking branch 'origin/10.2' into bb-10.2-extAlexander Barkov2018-02-121-9/+9
| |\ \ \ | | |/ /
| | * | Removed compiler warningsMonty2018-02-101-9/+9
| | | |
* | | | Windows, compiling : use /permissive- switch to improve conformanceVladislav Vaintroub2018-02-071-0/+1
| | | | | | | | | | | | | | | | fix a couple "initialization skipped by goto" and other new errors.
* | | | Windows, compiling : reenable warning C4996 (deprecated functions)Vladislav Vaintroub2018-02-071-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | But set _CRT_NONSTDC_NO_WARNINGS to silence silly warnings about ANSI C function being non-standard Remove now deprecated GetVersion()/GetVersionEx(),except single case where where it is really needed, in feedback plugin. Remove checks for Windows NT. Avoid old IPv4-only inet_aton, which generated the warning.
* | | | MDEV-15091 : Windows, 64bit: reenable and fix warning C4267 (conversion from ↵Vladislav Vaintroub2018-02-061-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'size_t' to 'type', possible loss of data) Handle string length as size_t, consistently (almost always:)) Change function prototypes to accept size_t, where in the past ulong or uint were used. change local/member variables to size_t when appropriate. This fix excludes rocksdb, spider,spider, sphinx and connect for now.
* | | | Changed database, tablename and alias to be LEX_CSTRINGMonty2018-01-301-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was done in, among other things: - thd->db and thd->db_length - TABLE_LIST tablename, db, alias and schema_name - Audit plugin database name - lex->db - All db and table names in Alter_table_ctx - st_select_lex db Other things: - Changed a lot of functions to take const LEX_CSTRING* as argument for db, table_name and alias. See init_one_table() as an example. - Changed some function arguments from LEX_CSTRING to const LEX_CSTRING - Changed some lists from LEX_STRING to LEX_CSTRING - threads_mysql.result changed because process list_db wasn't always correctly updated - New append_identifier() function that takes LEX_CSTRING* as arguments - Added new element tmp_buff to Alter_table_ctx to separate temp name handling from temporary space - Ensure we store the length after my_casedn_str() of table/db names - Removed not used version of rename_table_in_stat_tables() - Changed Natural_join_column::table_name and db_name() to never return NULL (used for print) - thd->get_db() now returns db as a printable string (thd->db.str or "")
* | | | Merge remote-tracking branch 'origin/bb-10.2-ext' into 10.3Alexander Barkov2017-10-301-4/+8
|\ \ \ \ | |/ / / | | | | | | | | TODO: enable MDEV-13049 optimization for 10.3
| * | | Merge remote-tracking branch 'origin/10.2' into bb-10.2-extAlexander Barkov2017-10-301-4/+8
| |\ \ \ | | |/ /
| | * | Merge branch '10.1' into 10.2Sergei Golubchik2017-10-241-4/+8
| | |\ \ | | | |/
| | | * Merge branch '10.0' into 10.1Sergei Golubchik2017-10-221-4/+8
| | | |\
| | | | * Merge branch '5.5' into 10.0Sergei Golubchik2017-10-181-4/+8
| | | | |\
| | | | | * MDEV-13459 Warnings, when compiling with gcc-7.xSergei Golubchik2017-10-171-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | mostly caused by -Wimplicit-fallthrough
* | | | | | Merge bb-10.2-ext into 10.3Marko Mäkelä2017-10-042-29/+29
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Merge remote-tracking branch 'origin/10.2' into bb-10.2-extAlexander Barkov2017-10-022-29/+29
| |\ \ \ \ \ | | |/ / / /
| | * | | | MDEV-13384 - misc Windows warnings fixedVladislav Vaintroub2017-09-282-30/+30
| | | | | |
* | | | | | Enusure that my_global.h is included firstMichael Widenius2017-08-242-2/+2
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Added sql/mariadb.h file that should be included first by files in sql directory, if sql_plugin.h is not used (sql_plugin.h adds SHOW variables that must be done before my_global.h is included) - Removed a lot of include my_global.h from include files - Removed include's of some files that my_global.h automatically includes - Removed duplicated include's of my_sys.h - Replaced include my_config.h with my_global.h
* | | | | Merge remote-tracking branch 'origin/10.2' into bb-10.2-extAlexander Barkov2017-06-151-2/+5
|\ \ \ \ \ | |/ / / /
| * | | | Merge 10.1 into 10.2Marko Mäkelä2017-05-221-2/+5
| |\ \ \ \ | | |/ / /
| | * | | Merge 10.0 into 10.1Marko Mäkelä2017-05-191-2/+5
| | |\ \ \ | | | |/ /
| | | * | MDEV-5477 sphinxSE GROUP BY on multiple attributesSergei Golubchik2017-05-161-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | Translate "multi:" to SPH_GROUPBY_MULTIPLE. SPH_GROUPBY_ATTRPAIR is still not supported.
| | | * | MDEV-9998 Fix issues caught by Clang's -Wpointer-bool-conversion warningSergei Golubchik2017-05-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | remove useless checks and a couple of others
* | | | | Changing field::field_name and Item::name to LEX_CSTRINGMonty2017-04-231-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Benefits of this patch: - Removed a lot of calls to strlen(), especially for field_string - Strings generated by parser are now const strings, less chance of accidently changing a string - Removed a lot of calls with LEX_STRING as parameter (changed to pointer) - More uniform code - Item::name_length was not kept up to date. Now fixed - Several bugs found and fixed (Access to null pointers, access of freed memory, wrong arguments to printf like functions) - Removed a lot of casts from (const char*) to (char*) Changes: - This caused some ABI changes - lex_string_set now uses LEX_CSTRING - Some fucntions are now taking const char* instead of char* - Create_field::change and after changed to LEX_CSTRING - handler::connect_string, comment and engine_name() changed to LEX_CSTRING - Checked printf() related calls to find bugs. Found and fixed several errors in old code. - A lot of changes from LEX_STRING to LEX_CSTRING, especially related to parsing and events. - Some changes from LEX_STRING and LEX_STRING & to LEX_CSTRING* - Some changes for char* to const char* - Added printf argument checking for my_snprintf() - Introduced null_clex_str, star_clex_string, temp_lex_str to simplify code - Added item_empty_name and item_used_name to be able to distingush between items that was given an empty name and items that was not given a name This is used in sql_yacc.yy to know when to give an item a name. - select table_name."*' is not anymore same as table_name.* - removed not used function Item::rename() - Added comparision of item->name_length before some calls to my_strcasecmp() to speed up comparison - Moved Item_sp_variable::make_field() from item.h to item.cc - Some minimal code changes to avoid copying to const char * - Fixed wrong error message in wsrep_mysql_parse() - Fixed wrong code in find_field_in_natural_join() where real_item() was set when it shouldn't - ER_ERROR_ON_RENAME was used with extra arguments. - Removed some (wrong) ER_OUTOFMEMORY, as alloc_root will already give the error. TODO: - Check possible unsafe casts in plugin/auth_examples/qa_auth_interface.c - Change code to not modify LEX_CSTRING for database name (as part of lower_case_table_names)