我的系统要求是从ubuntu终端执行一系列mysql命令,create table aa (id int); create table cc (id int); zero@zero-desktop:~/Desktop$ mysql --user=root --password=admin --database=zero <qu
在查询数据库后,我有一个SQL回调函数,然后尝试将这些数据填充到TCL字典中,以便在TCL脚本中捕获它。
我有一个回调函数,它为每个select调用,并将列作为键添加到它的值中。我将Tcl_Interp*作为数据arg传递。int callback(void *interp, int argc, char **argv, cha