Continue AI features and improve protocol support

This commit is contained in:
2026-02-15 16:57:32 +00:00
parent 2d3b8fdac6
commit 85e97e895d
62 changed files with 5472 additions and 441 deletions

View File

@@ -1,3 +1,5 @@
import asyncio
import aiomysql
from core.schemas import mc_s
@@ -41,7 +43,10 @@ async def create_index():
for name, schema in schemas.items():
schema_types = ", ".join([f"{k} {v}" for k, v in schema.items()])
create_query = f"create table if not exists {name}({schema_types}) engine='columnar'"
create_query = (
f"create table if not exists {name}({schema_types}) "
"engine='columnar'"
)
log.info(f"Schema types {create_query}")
await cur.execute(create_query) # SQLi
except aiomysql.Error as e: