← Back to team overview

mahara-contributors team mailing list archive

[Bug 1180624] Re: Add support for temp tables

 

I suggest the following for testing this:

1. Write a test script that creates a temp table, inserts a record into it, and then selects that record
2. Run that test script
3. After the test script has finished running, look in your database with an external tool and check to see that the table no longer exists (as a temp table, it should not have stuck around after the connection ended)

It needs to be tested in MySQL and Postgres.

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contrib members
https://bugs.launchpad.net/bugs/1180624

Title:
  Add support for temp tables

Status in Mahara ePortfolio:
  In Progress

Bug description:
  The auth/ldap sync cron scripts (
  https://bugs.launchpad.net/mahara/+bug/1180622 ) need to create temp
  tables. I'm going to just port across the temp table creation function
  from Moodle 1.9 (since the rest of Mahara's database api is also based
  on the Moodle 1.9 database api.)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1180624/+subscriptions


References