Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.7, 1.8
-
Fix Version/s: 1.8
-
Component/s: Authentication, Database SQL/XMLDB
-
Labels:None
-
Environment:MSSQL & ORACLE
-
Database:Microsoft SQL, Oracle
-
Affected Branches:MOODLE_17_STABLE, MOODLE_18_STABLE
-
Fixed Branches:MOODLE_18_STABLE
Description
In the ldap authentication plugin, the sync_users() function, has some conditional code to use temporal tables under MySQL and PostgreSQL, but there isn't corresponding code for MSSQL and Oracle.
While it shouldn't be problematic for Oracle:
create global temporary table $CFG->prefix .'extuser'
......
(on commit preserve rows?)
MSSQL has a limitatio: All the temp tables are named with '#' being the 1st char in the name. Obviously this breaks current code and $CFG->prefix usage
Any idea?
Issue Links
| This issue will help resolve: | ||||
| MDL-8023 | CLONE -auth_ldap_bulk_insert() potential problem for MSSQL and Oracle |
|
|
|
| This issue will be resolved by: | ||||
| MDL-8590 | Auth cleanup - META |
|
|
|
| This issue duplicates: | ||||
| MDL-7525 | auth_sync_users() only knows mysql and postgres |
|
|
|
| This issue has been marked as being related by: | ||||
| MDL-7525 | auth_sync_users() only knows mysql and postgres |
|
|
|
Adding it too to the SQL Component to be able to follow it from more places.