Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added several function to simplify how tables are written in Admin, especially for statistics #2700

Open
wants to merge 26 commits into
base: v2.1.0
Choose a base branch
from

Conversation

renecannao
Copy link
Contributor

Added several function to simplify how tables are written in Admin, especially for statistics:

  • generate_sqlite3_prepare_insert_values_query()
  • proxysql_sqlite3_bind()
  • proxysql_sqlite3_bind_from_SQLite3_row()

renecannao and others added 14 commits April 25, 2020 16:45
…specially for statistics:

* generate_sqlite3_prepare_insert_values_query()
* proxysql_sqlite3_bind()
* proxysql_sqlite3_bind_from_SQLite3_row()
This commit extends test_admin_configs-t.cpp .
Instead of running just one test on mysql_replication_hostgroups using one single hardcoded rows:
* it generates 200 hostgroups
* it sorts them randomly
* writes mysql_replication_hostgroups and load to runtime 100 times, each time with a random number of rows between 1 and 100
* check_type is randomized as well
* comment is generated using the hostgroup number themselves
More random data generated during TAP test
@renecannao
Copy link
Contributor Author

retest this please

@pondix
Copy link
Contributor

pondix commented Mar 10, 2022

Automated message: PR pending admin approval for build testing

@mirostauder
Copy link
Collaborator

Can one of the admins verify this patch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants