![]() |
FOSSology
4.7.1
Open Source License Compliance by Open Source Software
|

Go to the source code of this file.
Variables | |
| const char * | check_scheduler_tables |
| const char * | url_checkout |
| const char * | select_upload_fk |
| const char * | upload_common |
| const char * | folder_name |
| const char * | parent_folder_name |
| const char * | upload_name |
| const char * | upload_pk |
| const char * | jobsql_email |
| const char * | jobsql_email_job |
| const char * | basic_checkout |
| const char * | jobsql_started |
| const char * | jobsql_complete |
| const char * | jobsql_restart |
| const char * | jobsql_failed |
| const char * | jobsql_processed |
| const char * | jobsql_paused |
| const char * | jobsql_log |
| const char * | jobsql_priority |
| const char * | jobsql_anyrunnable |
| const char * | jobsql_jobendbits |
| const char * | jobsql_resetqueue |
| const char * | jobsql_jobinfo |
| const char * | smtp_values |
This file declares all the sql statements used in the scheduler. This should only be included once in the databace.c file.
Definition in file sqlstatements.h.
| const char* basic_checkout |
Fetch the next batch of schedulable jobs with their user and priority. The users table is LEFT JOINed so a job whose user was deleted shows up with a NULL user_pk and can be skipped instead of silently dropped.
Definition at line 111 of file sqlstatements.h.
| const char* check_scheduler_tables |
Check column names for a given table
Definition at line 22 of file sqlstatements.h.
| const char* folder_name |
For a given job id, get the folder name and folder id
Definition at line 54 of file sqlstatements.h.
| const char* jobsql_anyrunnable |
Check whether the job containing jq_pk still has any runnable queue entries.
Definition at line 215 of file sqlstatements.h.
| const char* jobsql_complete |
Mark the given job id as completed
Definition at line 141 of file sqlstatements.h.
| const char* jobsql_email |
For a given upload id, get the user's name, email and email preference
Definition at line 92 of file sqlstatements.h.
| const char* jobsql_email_job |
For a given job id, get the user's name, email and email preference
Definition at line 100 of file sqlstatements.h.
| const char* jobsql_failed |
Mark the given job id as failed
Definition at line 165 of file sqlstatements.h.
| const char* jobsql_jobendbits |
Get jq_pk and jq_end_bits for every queue entry of the same parent job as jq_pk.
Definition at line 230 of file sqlstatements.h.
| const char* jobsql_jobinfo |
Get every queue entry of the same parent job as jq_pk.
Definition at line 249 of file sqlstatements.h.
| const char* jobsql_log |
Get the log location for the given job id
Definition at line 197 of file sqlstatements.h.
| const char* jobsql_paused |
Mark the given job id as paused
Definition at line 184 of file sqlstatements.h.
| const char* jobsql_priority |
Change the priority of the given job id
Definition at line 205 of file sqlstatements.h.
| const char* jobsql_processed |
Update the items processed for the given job id
Definition at line 176 of file sqlstatements.h.
| const char* jobsql_resetqueue |
Reset the job queue for jobs with end time as NULL
Definition at line 239 of file sqlstatements.h.
| const char* jobsql_restart |
Mark the given job id as restarted
Definition at line 152 of file sqlstatements.h.
| const char* jobsql_started |
Mark the given job id as started
Definition at line 131 of file sqlstatements.h.
| const char* parent_folder_name |
For a given folder id, get the folder name and folder id of the immediate parent
Definition at line 65 of file sqlstatements.h.
| const char* select_upload_fk |
For a given job queue id, get the upload id
Definition at line 38 of file sqlstatements.h.
| const char* smtp_values |
Get the SMTP (email) values for the sysconfig table
Definition at line 258 of file sqlstatements.h.
| const char* upload_common |
For a given upload id, get job and job queue
Definition at line 46 of file sqlstatements.h.
| const char* upload_name |
For a given job id, get the upload file name
Definition at line 73 of file sqlstatements.h.
| const char* upload_pk |
For a given job id, get the upload id and upload tree
Definition at line 82 of file sqlstatements.h.
| const char* url_checkout |
Get the FOSSologyURL from sysconfig table
Definition at line 31 of file sqlstatements.h.