~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/ut/ut0wqueue.c

Merge initial InnoDB+ import.

This was applied by generating a patch between MySQL 5.1.50 InnoDB plugin and
the just-merged innodb+ from mysql-trunk revision-id: vasil.dimov@oracle.com-20100422110752-1zowoqxel5xx3z2e

Then, some manual merge resolving and it worked. This should make it much
easier to merge the rest of InnoDB 1.1 and 1.2 from the mysql tree using
my bzr-reapply script.

This takes us to InnoDB 1.1.1(ish).

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
{
36
36
        ib_wqueue_t*    wq = mem_alloc(sizeof(ib_wqueue_t));
37
37
 
38
 
        mutex_create(&wq->mutex, SYNC_WORK_QUEUE);
 
38
        /* Function ib_wqueue_create() has not been used anywhere,
 
39
        not necessary to instrument this mutex */
 
40
        mutex_create(PFS_NOT_INSTRUMENTED, &wq->mutex, SYNC_WORK_QUEUE);
39
41
 
40
42
        wq->items = ib_list_create();
41
43
        wq->event = os_event_create(NULL);