[Bots] Convert Bot Database Methods to Repositories (#4023)

* [Bots] Convert Bot Database Methods to Repositories

* Final push.

* Cleanup.

* Cleanup.

* Update bot_database.cpp

* Update bot_database.cpp

* Update bot_database.cpp

* Update bot_database.cpp

* Update bot_database.cpp
This commit is contained in:
Alex King authored and GitHub committed 2024-01-28 20:23:31 -06:00
1 parent 7a770e0e08
commit ce907c9519
31 files changed
+3570 -2679

No files matched your search

@@ -566,6 +566,9 @@ sub translate_mysql_data_type_to_c
elsif ($mysql_data_type =~ /int/) {
$struct_data_type = 'uint32_t';
}
elsif ($mysql_data_type =~ /float|decimal/) {
$struct_data_type = 'float';
}
}
elsif ($mysql_data_type =~ /bigint/) {
$struct_data_type = 'int64_t';
@@ -600,7 +603,8 @@ sub get_reserved_cpp_variable_names
"int",
"key",
"rank",
"range"
"range",
"interval"
);
}