diff options
author | Daniël van Eeden <git@myname.nl> | 2022-07-29 17:07:32 +0200 |
---|---|---|
committer | Daniël van Eeden <git@myname.nl> | 2022-07-29 17:07:32 +0200 |
commit | ef4733cebad9e3ae61b2d3b8012a5e1603bd63ed (patch) | |
tree | 4af9201aef0a28c1ae3d082dfd2ad90540bdc74c | |
parent | 40f7a020dcef3db8e118e8eeee3c6a856885b85c (diff) |
Include TiDB in tests and myclirc
-rw-r--r-- | mycli/myclirc | 2 | ||||
-rw-r--r-- | test/test_sqlexecute.py | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/mycli/myclirc b/mycli/myclirc index 8365a1c..ffd2226 100644 --- a/mycli/myclirc +++ b/mycli/myclirc @@ -66,7 +66,7 @@ wider_completion_menu = False # \R - The current time, in 24-hour military time (0-23) # \r - The current time, standard 12-hour time (1-12) # \s - Seconds of the current time -# \t - Product type (Percona, MySQL, MariaDB) +# \t - Product type (Percona, MySQL, MariaDB, TiDB) # \A - DSN alias name (from the [alias_dsn] section) # \u - Username # \x1b[...m - insert ANSI escape sequence diff --git a/test/test_sqlexecute.py b/test/test_sqlexecute.py index 9c2bcb8..38ca5ef 100644 --- a/test/test_sqlexecute.py +++ b/test/test_sqlexecute.py @@ -276,6 +276,7 @@ def test_multiple_results(executor): @pytest.mark.parametrize( 'version_string, species, parsed_version_string, version', ( + ('5.7.25-TiDB-v6.1.0','TiDB', '5.7.25', 50725), ('5.7.32-35', 'Percona', '5.7.32', 50732), ('5.7.32-0ubuntu0.18.04.1', 'MySQL', '5.7.32', 50732), ('10.5.8-MariaDB-1:10.5.8+maria~focal', 'MariaDB', '10.5.8', 100508), |