Commit graph

  • 5bb2d3c89f Cleanup of Item_func_gen_embedding::read_json Apostolis Stamatis 2025-08-06 21:21:09 +03:00
  • 12eb49c76c Implements a better waiting logic for the mockup API server Apostolis Stamatis 2025-08-06 18:28:50 +03:00
  • dcad8b8c40 Changes the status variable names to "http" instead of "curl" Apostolis Stamatis 2025-08-06 13:26:04 +03:00
  • f1c89f29d5 Changes copyright year Apostolis Stamatis 2025-08-06 13:07:50 +03:00
  • 17aafdd0dc Uses a String to store the post_fields Apostolis Stamatis 2025-08-06 13:01:24 +03:00
  • 970672e3cb Changes "paths" allocation to be done in execution arena Apostolis Stamatis 2025-08-04 18:35:00 +03:00
  • f675206176 Initialize CURL pointers to NULL Apostolis Stamatis 2025-08-04 14:06:35 +03:00
  • 795119dbb3 Makes JSON_EMBEDDING_PATH a char* instead of std::string Apostolis Stamatis 2025-08-03 18:23:52 +03:00
  • ce8225aaa1 Removes unnecessary charset conversion Apostolis Stamatis 2025-08-03 16:00:25 +03:00
  • 808a2f87b5 Fixed copyright date Apostolis Stamatis 2025-08-01 21:26:56 +03:00
  • f17aafdd76 Moves responses dict to global scope apostolis1 2025-08-01 21:22:15 +03:00
  • fd572cb975 Avoids copying the charset by using a pointer to it apostolis1 2025-08-01 21:15:42 +03:00
  • ec36d0750c Removes CURL from required packages apostolis1 2025-08-01 21:14:51 +03:00
  • 6fefdd5368 Adds test for status variables apostolis1 2025-07-13 05:44:19 +03:00
  • 5438ff25a3 Fixes bug where a pointer to cs_openai was saved to api_response, causing a segfault apostolis1 2025-07-13 05:25:36 +03:00
  • ebd74f2382 Minor change to mockup server, return a valid byte sequence in case of input not found apostolis1 2025-07-09 01:48:07 +03:00
  • 352709e9d5 Adds status variables for total number of curl requests and successful number of curl requests apostolis1 2025-07-09 01:44:01 +03:00
  • b8d922a719 Code refactoring apostolis1 2025-07-08 19:46:14 +03:00
  • a4567994bb Adds error handling for bad input encoding and corresponding test apostolis1 2025-07-08 18:44:55 +03:00
  • 48d9873c2e Changes the mockup server to verify the input received and return the appropriate response from a response mapping file. Adds tests for greek charset, both for OpenAI and mockup server apostolis1 2025-07-05 19:27:50 +03:00
  • e8fe3435a5 Converts the input to UTF-8 before sending it to OpenAI. This makes the plugin work with any input charset apostolis1 2025-07-05 19:20:43 +03:00
  • 78bde796e0 Fixes typo apostolis1 2025-07-02 13:35:52 +03:00
  • ead0d249c7 Adds tests for bad api host value and mismatched JSON path between the API response and what is expected apostolis1 2025-07-01 18:26:16 +03:00
  • fba0e38055 Addresses some TODOs and minor changes apostolis1 2025-07-01 18:23:42 +03:00
  • 2756b9b629 Adds tests communicating with the OpenAI server and improves existing tests apostolis1 2025-06-27 21:13:49 +03:00
  • f99d0b8949 Escapes the input string before it is passed to curl, to ensure it is a valid JSON string apostolis1 2025-06-27 18:47:13 +03:00
  • e5ad42e26c Modifies the HTTP mockup server to use different endpoints for different responses. This means that a single HTTP mockup server can be used for testing, minimizing configurations and mariadb server restarts. apostolis1 2025-06-23 18:50:24 +03:00
  • 469d34767b Adds automated tests for the plugin. Removes the Flask dependency and instead implements a minimal HTTP server using built-in python libraries. Testing directories restructure. apostolis1 2025-06-23 14:13:18 +03:00
  • f7c1aa3bc5 Adds a map with supported models. This can be used to check whether the model name is valid and determine the embedding dimensions apostolis1 2025-06-18 23:46:44 +03:00
  • 438cd63d83 Adds error handling for curl and http errors apostolis1 2025-06-17 15:02:52 +03:00
  • daef38d400 Implements parsing the function's input for the API call apostolis1 2025-06-16 00:59:48 +03:00
  • b962b7ce1c Adds a minimal Flask server and an API response from OpenAI, useful for testing the plugin apostolis1 2025-06-11 14:15:49 +03:00
  • 62eb4b8ee4 Adds curl support to the plugin. Currently no user input is taken into consideration. The curl post works with an internal testing mock server, not with the actual openai server, as no authorization is used. apostolis1 2025-06-11 13:38:14 +03:00
  • 956a352c11 Adds session variables for host and api key apostolis1 2025-06-10 17:49:29 +03:00
  • 26d3b49b25 Fixes wrong identation causing compilation failure apostolis1 2025-06-09 17:34:49 +03:00
  • f19c02f0d5 Updates the Plugin author apostolis1 2025-06-09 16:34:58 +03:00
  • f67d8585a6 Initial version of the plugin. Does not support API calls and plugin variables apostolis1 2025-06-09 13:34:03 +03:00
  • d07c03c440 MDEV-36321: reviwe input part4. Check REVIEW-INPUT in the patch. bb-11.4-MDEV-36321-review-input Sergei Petrunia 2025-08-27 13:14:10 +03:00
  • 70966d3b37 MDEV-36321: Review input part 3: Remove key_parts_match Sergei Petrunia 2025-08-27 11:46:56 +03:00
  • 8a05bc6fcb Fixed typos Michael Widenius 2025-08-27 11:31:12 +03:00
  • f7b1e4f263 MDEV-36321: Review input part 2: remove is_item_in_key() Sergei Petrunia 2025-08-27 11:44:04 +03:00
  • bab33ad43e MDEV-36321: Trivial review input: code cleanup . Sergei Petrunia 2025-08-27 11:27:28 +03:00
  • 21bb6a3e34 MDEV-37447: Race condition between buf_pool_t::shrink() and page_guess() Marko Mäkelä 2025-08-27 11:02:19 +03:00
  • e497a7e4c3 - Fix some warning Thirunarayanan Balathandayuthapani 2025-08-27 12:20:13 +05:30
  • 3b92be01ab - Suppress few more warning Thirunarayanan Balathandayuthapani 2025-08-27 11:31:18 +05:30
  • 4c87a07203 MDEV-36321 keys generated on derived tables produce wrong out_rows estimates Rex Johnston 2025-08-21 14:10:13 +11:00
  • d4079031dd Make the hint compound index hint Oleg Smirnov 2025-08-25 22:31:08 +03:00
  • b489d5f813 Merge 10.6 into 10.11 Marko Mäkelä 2025-08-26 14:24:31 +03:00
  • 80bbba3077 - Suppress warning Thirunarayanan Balathandayuthapani 2025-08-26 16:33:06 +05:30
  • eb8609c550
    Promote getting to 10k GitHub stars in server log and client prompt Otto Kekäläinen 2025-08-25 21:27:55 -07:00
  • db64d198da MDEV-37497 : galera-new-cluster is installed wrong directory in bintar Jan Lindström 2025-08-25 11:54:10 +03:00
  • 0820725779
    last touches to ChangeMaster ParadoxV5 2025-08-25 21:47:18 -06:00
  • b59421f037 MDEV-37497 : galera-new-cluster is installed wrong directory in bintar Jan Lindström 2025-08-25 11:54:10 +03:00
  • ccf2886569 MDEV-37438: UBSAN add_ext_keyuse_for_splitting downcast Item_func_equal -> Item_func_eq Daniel Black 2025-08-26 13:18:59 +10:00
  • 0f6ec8a91b MDEV-37438: UBSAN add_ext_keyuse_for_splitting downcast Item_func_equal -> Item_func_eq Daniel Black 2025-08-26 13:18:59 +10:00
  • 4dfda44540
    More fixes found from MTR testing the Rpl. suite ParadoxV5 2025-08-25 17:19:14 -06:00
  • 35a439d667 MDEV-33660 Add warning when setting AUTO_INCREMENT lower than max value Fariha Shaikh 2025-08-22 18:48:11 +00:00
  • e3c758e9b9 - Fixed ps-protocol failure and few warnings Thirunarayanan Balathandayuthapani 2025-08-25 23:54:06 +05:30
  • 59dbfbade2 MDEV-9345: Replication to enable filtering on master Mohanad 2025-08-25 20:47:48 +03:00
  • 196ab28606 Implement forcing of the hint Oleg Smirnov 2025-08-24 21:30:56 +03:00
  • 0f3cf4e2fd Hint implementation Oleg Smirnov 2025-06-02 21:13:31 +07:00
  • b195b8b945 MDEV-34033 Exchange partition with virtual columns fails bb-10.11-nikita Nikita Malyavin 2025-01-22 20:46:21 +01:00
  • d4f3569bd0 Item::eq: transform bool binary_cmp into struct Eq_config Nikita Malyavin 2025-01-17 22:37:11 +01:00
  • 0109312221 Revert "MDEV-34033 Exchange partition with virtual columns fails" Nikita Malyavin 2025-08-11 16:14:39 +02:00
  • 03b6fe9870 Hint keywords, parsing Oleg Smirnov 2025-05-23 22:08:31 +07:00
  • bc49038564 Vanilla: gcov fix Aleksey Midenkov 2025-08-19 00:33:42 +03:00
  • 84f1d5e8b9 - Trying to fix debian build Thirunarayanan Balathandayuthapani 2025-08-25 15:02:21 +05:30
  • 2174929f1e
    Merge 8ed7386ab8 into 5c92b27d54 Alexey Yurchenko 2025-08-25 10:12:45 +02:00
  • 543ae8303d - Fixing windows build Thirunarayanan Balathandayuthapani 2025-08-25 13:42:44 +05:30
  • 8ed7386ab8 MGL-51 Diagnostics_area does not always contain apply error info Alexey Yurchenko 2025-08-03 12:35:28 +02:00
  • a1bba0e31c MDEV-36482: Make liburing work WITH_MSAN=ON (fix) Daniel Black 2025-08-25 13:01:06 +10:00
  • 16a4492971 - Fixing debian build failure Thirunarayanan Balathandayuthapani 2025-08-25 12:52:48 +05:30
  • ed7534c42c MDEV-20023 Implement Oracle TRUNC() function bb-12.1-monty-MDEV-20023 Monty 2025-07-27 19:26:55 +03:00
  • e53df6b00c - Fixing wstring compilation issue Thirunarayanan Balathandayuthapani 2025-08-25 12:26:40 +05:30
  • b2cb7b7ff3
    Fixes ParadoxV5 2025-08-24 20:09:53 -06:00
  • 0eb15ab0f3 Implement forcing of the hint bb-12.1-MDEV-36089-rowid-flt Oleg Smirnov 2025-08-24 21:30:56 +03:00
  • 28e0192141 MDEV-29981: Replica stops with "Found invalid event in binary log" bb-12.0-MDEV-29981-merge Brandon Nesterenko 2025-08-19 14:31:11 -06:00
  • b102f6146f MDEV-29981: Replica stops with "Found invalid event in binary log" bb-11.4-MDEV-29981-merge Brandon Nesterenko 2025-08-19 14:31:11 -06:00
  • fe925e59d7 Bug with wrong identification when to report error is fixed. Warrning generation remains to be done. Nedeljko Stefanovic 2025-08-23 10:11:45 +00:00
  • 7aed269fea Error texts updated to avoid missleading. Nedeljko Stefanovic 2025-08-23 10:10:45 +00:00
  • 7f61989ee7 - Fixing windows compilation Thirunarayanan Balathandayuthapani 2025-08-23 12:08:50 +05:30
  • a394fc0270 MDEV-29981: Replica stops with "Found invalid event in binary log" Brandon Nesterenko 2025-08-19 14:31:11 -06:00
  • 6a2c8e307d MDEV-29981: Replica stops with "Found invalid event in binary log" Brandon Nesterenko 2025-08-19 14:31:11 -06:00
  • cabb54d6cb - Fixed windows compilation Thirunarayanan Balathandayuthapani 2025-08-22 22:11:50 +05:30
  • 7a33f229ae This commit adds complete support for: Hazem Alrawi 2025-08-15 20:18:49 +03:00
  • d2826d76fc - Fix compilation issue for windows Thirunarayanan Balathandayuthapani 2025-08-22 17:11:49 +05:30
  • 5a8d59b904 - Few more compilation on other build Thirunarayanan Balathandayuthapani 2025-08-22 16:08:00 +05:30
  • c791b48103 - Fixed msan failure and few more compilation issues Thirunarayanan Balathandayuthapani 2025-08-22 14:29:47 +05:30
  • 8761047e11 Work around MDEV-37478 Marko Mäkelä 2025-08-22 11:43:38 +03:00
  • 6bf1ed55e6 MDEV-37477: decimal_digits_t trips GCC -Wconversion Marko Mäkelä 2025-08-22 11:22:12 +03:00
  • ba9e8ebdbe MDEV-37411: Clear warnings for io_setup failure Daniel Black 2025-08-22 15:55:28 +10:00
  • 87b8077fdd MDEV-37411: Clear warnings for io_setup failure Daniel Black 2025-08-22 15:55:28 +10:00
  • b072ae1b16 Innodb Clone: Implement HA_CLONE_STAGE_SNAPSHOT mariadb-DebarunBanerjee 2025-08-22 10:58:36 +05:30
  • e29d40551a Fix clone recovery with redo file larger than configured size mariadb-DebarunBanerjee 2025-08-21 16:03:45 +05:30
  • 2912e76491 - Fixed clone.aria_basic test case Thirunarayanan Balathandayuthapani 2025-08-22 11:13:30 +05:30
  • 2c30f92dd3 MDEV-36482: Make liburing work WITH_MSAN=ON Daniel Black 2025-07-14 17:13:31 +10:00
  • 47fefd4a96 Merge 10.6 into 10.11 Marko Mäkelä 2025-08-22 06:47:54 +03:00
  • e6c7661842
    Refactor ChangeMaster and add IDListConfig to it; Integrations Pt. 2 ParadoxV5 2025-08-21 21:36:54 -06:00
  • 1f749f3adf MDEV-9345: Replication to enable filtering on master Mohanad 2025-08-21 22:48:28 +03:00
  • 916577f9f3 - Few more compilation issue Thirunarayanan Balathandayuthapani 2025-08-21 22:38:54 +05:30