Commit Graph

  • c60d8f90b1 Migrate install rewriting to new rewriters Matthew Bucci 2023-11-07 15:26:03 -08:00
  • 3754ae32e4 Change plugin info Matthew Bucci 2023-10-30 22:15:04 -07:00
  • 4d7e4e86ff Merge pull request #44 from PostgreSQL-For-Wordpress/mb-fix-insert-caching v2.2 Matthew Bucci 2023-10-30 21:33:02 -07:00
  • ae2cbff59b add test for verifying parsing of insert statements and caching Matthew Bucci 2023-10-30 21:32:25 -07:00
  • fa6222bdee correct regex for insert matching Matthew Bucci 2023-10-30 21:02:50 -07:00
  • 974ccf11a6 clarify what has been tested so far Matthew Bucci 2023-10-30 15:48:43 -07:00
  • 5f2d8be921 Add link to releases page to readme v2.1.1-beta Matthew Bucci 2023-10-30 15:34:34 -07:00
  • 9a805a63de convert readme to markdown Matthew Bucci 2023-10-30 15:32:15 -07:00
  • 63f3f092ba ensure we don't pass null to trim during ensureGroupByOrAggregate Matthew Bucci 2023-10-30 15:20:15 -07:00
  • eb545e68ef Merge pull request #41 from kevinoid/mb-fix-ensure-groupBy v2.1-beta Matthew Bucci 2023-10-30 14:39:09 -07:00
  • ec9079d9c9 don't split on ',' if within a function Matthew Bucci 2023-10-30 12:19:10 -07:00
  • ee6328fca7 Merge pull request #38 from kevinoid/mb-add-basic-tests Matthew Bucci 2023-10-30 09:39:57 -07:00
  • cecf900391 correct DB_DRIVER define v1 Matthew Bucci 2023-10-30 09:27:19 -07:00
  • 76a8d85238 add github action for running tests Matthew Bucci 2023-10-30 09:35:50 -07:00
  • cbe173d2ff add basic testing suite Matthew Bucci 2023-10-30 09:32:50 -07:00
  • 9fda15b2da correct DB_DRIVER define Matthew Bucci 2023-10-30 09:27:19 -07:00
  • 76611a592e Merge pull request #28 from mattbucci/postgres15-compatibility v1.3.3 Matthew Bucci 2023-10-29 13:06:21 -07:00
  • 35f214f1aa Merge pull request #29 from mattbucci/php8-compatiblity Matthew Bucci 2023-10-29 13:04:48 -07:00
  • a9813d7ff6 Merge pull request #30 from mattbucci/hotfix/incorrect-constant Matthew Bucci 2023-10-29 13:03:33 -07:00
  • f035c8f8b2 Merge pull request #31 from mattbucci/mb-php8-wp6-support v2.0-beta Matthew Bucci 2023-10-29 13:03:01 -07:00
  • 83002198b1 Polymorphic refactor + improvements to select sql rewriting Matthew Bucci 2023-10-28 02:56:41 -07:00
  • a45338251e Merge branch 'postgres15-compatibility' into mb-php8-wp6-support Matthew Bucci 2023-10-28 02:54:37 -07:00
  • 0e692fd263 Merge branch 'php8-compatiblity' into mb-php8-wp6-support Matthew Bucci 2023-10-28 02:54:19 -07:00
  • 8816e1dcaa replace incorrect constant Matthew Bucci 2023-10-28 02:50:05 -07:00
  • 1bde430f0d PHP 8 compatibility fixes Matthew Bucci 2023-10-28 02:43:59 -07:00
  • aef2e89812 patches for postgres 15 compatibility, various warnings fixes and more Matthew Bucci 2023-10-28 02:27:14 -07:00
  • f2a05dddbe fix meta_value compares bug 1.3.2 kevinoid-changes ycz 2019-07-23 17:16:03 +08:00
  • 3fa4370b37 Merge pull request #13 from alexander255/wordpress4-compat Kevin Locke 2018-03-17 13:17:52 -06:00
  • 0607337f6b Also check in the WordPress base directory for the PG4WP files Alexander Schlarb 2018-03-16 15:40:35 +01:00
  • 06884bd732 Move pg4wp_rewrite_field out of pg4wp_rewrite Kevin Locke 2017-09-24 15:41:21 -06:00
  • 54042c1bcc Convert MySQL RAND() to PostgreSQL RANDOM() Kevin Locke 2017-09-24 14:17:31 -06:00
  • f896bb1759 Rewrite MySQL FIELD function to CASE statement Kevin Locke 2017-09-24 14:07:40 -06:00
  • 35e0af4252 Convert HAVING without GROUP BY to WHERE Kevin Locke 2017-04-14 12:54:14 -06:00
  • 6587b4085b Create MySQL-compatible field function on connect Kevin Locke 2017-04-08 16:20:58 -06:00
  • 1d2666ca1d Remove unnecessary isset() before empty() Kevin Locke 2017-04-08 16:20:39 -06:00
  • 7c4d76a0b6 Fix connection failure handling Kevin Locke 2017-04-08 13:33:13 -06:00
  • 68d8ead5ad Partially revert 650f768 Kevin Locke 2016-08-22 18:21:10 -06:00
  • bb7c8076a0 Remove obsolete comment Kevin Locke 2016-08-22 17:59:03 -06:00
  • 650f768e69 Call wpsql_select_db from wpsql_connect Kevin Locke 2016-08-22 17:25:22 -06:00
  • 5f6e9200c0 Match wpsql_ping formatting to adjacent functions Kevin Locke 2016-08-22 15:45:34 -06:00
  • 8a80acdf6e fix caompatibility with WordPress 4.6 David BARBION 2016-08-17 22:35:24 +02:00
  • c73f78a8bb Update "Tested up to" version in readme.txt Kevin Locke 2016-06-30 15:41:06 -07:00
  • e66f085a0c Add note about wp-content.php to readme.txt Kevin Locke 2016-06-30 15:40:14 -07:00
  • ac43107187 Avoid warnings due to unmatched capture groups Kevin Locke 2016-06-30 15:39:15 -07:00
  • 5b7e9a80ff Protect against undefined $wpdb in _rewrite Kevin Locke 2016-06-30 15:38:14 -07:00
  • 2fc28e9bd8 Only instantiate when DB_USER is defined Kevin Locke 2016-06-30 15:37:14 -07:00
  • 3a5afabcae Support using integers as booleans in expressions Kevin Locke 2015-10-02 14:02:31 -07:00
  • 33740e34e5 Replace split() with explode() for PHP 7 Kevin Locke 2015-09-22 08:40:02 -07:00
  • 2ab93ef3a4 Log the SQL for errors in wpsql_insert_id Kevin Locke 2015-09-12 09:53:23 -07:00
  • b9479d4559 Fix match for string-quoted identifier Kevin Locke 2015-09-12 09:51:11 -07:00
  • 42c63a916f [nextgen-gallery] Remove ORDER BY from DELETE where possible Kevin Locke 2015-06-06 21:03:09 -06:00
  • a9edb3a572 [nextgen-gallery] Check ORDER BY in SELECT DISTINCT Kevin Locke 2015-06-06 20:33:15 -06:00
  • c2f5a06ae6 [nextgen-gallery] Support SIGNED data type in CAST() Kevin Locke 2015-06-06 20:29:58 -06:00
  • cf3f571dbf [nextgen-gallery] Support for CONVERT() in place of CAST() Kevin Locke 2015-06-06 20:27:32 -06:00
  • 55a671b9f7 [nextgen-gallery] Convert GROUP_CONCAT() to STRING_AGG() Kevin Locke 2015-06-06 20:35:11 -06:00
  • 785307ee95 [nextgen-gallery] Fix identifiers quoted as strings Kevin Locke 2015-06-06 20:44:12 -06:00
  • 49e598f300 [flash-album-gallery] Add tinyint to smallint conversion Kevin Locke 2015-06-03 00:54:39 -06:00
  • 50c091946c Make data type conversion case-insensitive Kevin Locke 2015-06-06 21:14:11 -06:00
  • 67d7129b99 Fix CHANGE COLUMN matching Kevin Locke 2015-06-06 21:11:05 -06:00
  • e5353f70d6 Support INSERT IGNORE Kevin Locke 2015-06-06 20:58:03 -06:00
  • 6d55670e42 Tighten quoting of ID identifiers Kevin Locke 2015-06-06 20:55:51 -06:00
  • dc9e036000 Replace '0000-00-00 00:00:00' with NOW() in UPDATE Kevin Locke 2015-06-06 20:51:26 -06:00
  • debe87c368 WIP: Partial support for prefix indexing Kevin Locke 2015-06-03 01:21:16 -06:00
  • b4b346f694 Fix row order in SHOW INDEX query Kevin Locke 2015-06-03 01:17:48 -06:00
  • 83e5074461 Add support for sql_mode variable Kevin Locke 2015-06-03 01:12:12 -06:00
  • 6aea521bf2 Rework SHOW COLUMNS/INDEX/TABLE support Kevin Locke 2015-06-03 01:03:54 -06:00
  • f97491346b Rewrite default '0000-00-00 00:00:00' to now() Kevin Locke 2015-06-03 00:51:25 -06:00
  • 935a99c429 Rewrite multi-table delete of wp_options Kevin Locke 2015-06-03 00:42:27 -06:00
  • 3c98f08453 Define WP_USE_EXT_MYSQL for Wordpress 4 compatibility Kevin Locke 2015-06-03 00:38:31 -06:00
  • eff2d4e634 Re-enabled error logging in trunk hawk-codebase hawk__ 2014-08-21 16:53:30 +00:00
  • b67e7c6780 Integrated changes from http://vitoriodelage.wordpress.com/2014/06/06/add-missing-wpsql_errno-in-pg4wp-plugin/ Changes for 1.3.1 release hawk__ 2014-08-21 16:50:36 +00:00
  • fb058eda35 Re-enabled error logging in trunk hawk__ 2012-06-14 10:40:13 +00:00
  • 620c5653e2 Prepare for 1.3.0 release (versions, changelog, error logging off) hawk__ 2012-06-14 10:37:41 +00:00
  • 3e2733096e Removed an old unused upgrade hack hawk__ 2012-06-14 09:39:23 +00:00
  • cb8eb1231d Corrected a problem with ID quoting when importing in WP 2.9.2 hawk__ 2012-06-14 09:15:09 +00:00
  • 72b1fa1017 Enhanced wordpress-importer compatibility hawk__ 2012-05-21 18:06:44 +00:00
  • 7d70a7bc8c Removed a PHP notice in wpsql_connect() hawk__ 2012-05-20 22:17:54 +00:00
  • 78e876dec0 Reworked wpsql_insert_id() for better report of errors hawk__ 2012-05-20 21:57:33 +00:00
  • 9120c5fec2 Protect against a possible collision when handling 'ON DUPLICATE KEY' hawk__ 2012-05-20 19:24:06 +00:00
  • 749fe8fb59 Updated call to mysql_escape_string() which is deprecated hawk__ 2012-05-20 16:58:04 +00:00
  • 7af156a7c7 Update files for 1.3.0b1 release hawk__ 2012-05-20 13:47:51 +00:00
  • bb14143c77 Added a handle for DROP TABLE to remove sequences that are linked with the dropped table hawk__ 2012-05-20 12:57:04 +00:00
  • 21754d862d Added a hack so that wp_terms_seq is updated on installation hawk__ 2012-05-20 12:30:56 +00:00
  • 943887362c Moved the quoting hacks for PostgreSQL 9.1+ compatibility so that they apply to all queries hawk__ 2012-05-20 10:24:18 +00:00
  • 70b7af7142 Added a filter for 'CREATE TABLE IF NOT EXISTS' hawk__ 2012-05-17 20:13:57 +00:00
  • b2c7c3e662 Enhanced the ignore for unexisting relations when installing hawk__ 2012-05-15 19:19:51 +00:00
  • 7692aa54c4 Corrected a typo and added a WPMU required translation hawk__ 2012-05-15 19:17:23 +00:00
  • 2e144463e5 Corrected 2 matching that were not accurate enough hawk__ 2012-05-15 19:01:56 +00:00
  • bdea3e9546 Added a modifier for COUNT(.+)...ORDER BY... to be handled correctly even when ther is a newline character hawk__ 2012-05-09 21:33:33 +00:00
  • 4cc22003a8 Added a handle for converting CAST(... AS CHAR) to CAST(... AS TEXT) (Problem pointed out by Aart Jan) hawk__ 2012-05-09 20:59:27 +00:00
  • cd0b6c4916 Forgot to remove 2 lines in the previous commit hawk__ 2012-05-09 20:29:23 +00:00
  • e5f2f14aa1 Added support for specifying the port in the server hostname eg. 'localhost:3128' hawk__ 2012-05-09 20:21:42 +00:00
  • dba478b671 Added support for PostgreSQL 9.1+ default config for standard_conforming_strings hawk__ 2012-05-09 20:17:16 +00:00
  • afadc6b033 Added a timestamp to logs Ignore errors about table "options" not existing when installing hawk__ 2011-10-31 21:50:04 +00:00
  • c0111615da Re-enabled error logging in trunk hawk__ 2011-09-11 00:07:15 +00:00
  • a6c2ed3467 Forgot to change version to 1.2.2 hawk__ 2011-09-11 00:02:08 +00:00
  • c89f560605 Correct SQL_CALC_FOUND_ROWS handling as it was broken by the latest code reorganisation hawk__ 2011-09-11 00:00:04 +00:00
  • a9d154b1b4 Prepare for 1.2.1 stable release hawk__ 2011-09-10 23:41:04 +00:00
  • b661a7bde5 Moved all the rewriting code to a separate function (for easier testing) Reworked 'ON DUPLICATE ...' handling, could fail in some cases hawk__ 2011-09-10 23:38:01 +00:00
  • c9a58af607 Forgot to remove debugging code in previous commit ... hawk__ 2011-09-10 22:14:28 +00:00