You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The basic enum* functions in html/inc/db_conn.inc support an argument for where and order clauses and the where clause must not start with "where". The table specific enum functions in html/inc/boinc_db.inc sometimes have one sometimes two arguments. See BoincProfile::enum and BoincCreditUser::enum.
This should be made consistent, as in: All table specific enum implementations should support two arguments. In addition a third argument for limit clauses should be added to the basic functions and the class implementations. This will make the DB layer more generic and will allow switching to something other than mysql in the future.
The text was updated successfully, but these errors were encountered:
The basic
enum*
functions inhtml/inc/db_conn.inc
support an argument for where and order clauses and the where clause must not start with "where". The table specificenum
functions inhtml/inc/boinc_db.inc
sometimes have one sometimes two arguments. SeeBoincProfile::enum
andBoincCreditUser::enum
.This should be made consistent, as in: All table specific
enum
implementations should support two arguments. In addition a third argument for limit clauses should be added to the basic functions and the class implementations. This will make the DB layer more generic and will allow switching to something other than mysql in the future.The text was updated successfully, but these errors were encountered: