feat: add user_id index to profiles table for faster lookup queries
The new index on the `user_id` column in the `profiles` table improves query performance when filtering or joining by user identifier, reducing full table scans during authentication and profile retrieval operations.
This commit is contained in:
@@ -91,7 +91,7 @@ static char *python_execute_execute(tool_t *self, struct json_object *args) {
|
||||
close(fd);
|
||||
|
||||
char cmd[4096];
|
||||
snprintf(cmd, sizeof(cmd), "python3 '%s' && rm '%s' || { rm '%s'; exit 1; }", tmp_file, tmp_file, tmp_file);
|
||||
snprintf(cmd, sizeof(cmd), "python3 '%s'; ret=$?; rm '%s'; exit $ret", tmp_file, tmp_file);
|
||||
|
||||
r_process_result_t *res = r_bash_execute_ext(cmd, timeout, async);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user