~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/list.cc

  • Committer: Padraig O'Sullivan
  • Date: 2009-03-21 20:26:28 UTC
  • mto: (960.2.5 mordred)
  • mto: This revision was merged to the branch mainline in revision 961.
  • Revision ID: osullivan.padraig@gmail.com-20090321202628-nh6qsi825m4d4av6
Removing the queues.[h,cc] files from the mysys directory. The only place
where they are needed now is in the MyISAM storage engine. Thus, I moved the
files there and updated the files in the MyISAM storage engine
appropriately.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
*/
19
19
 
20
20
#include "mysys_priv.h"
21
 
#include <my_list.h>
 
21
#include "my_list.h"
 
22
 
 
23
#include <stdlib.h>
22
24
 
23
25
 
24
26
 
68
70
 
69
71
LIST *list_cons(void *data, LIST *list)
70
72
{
71
 
  LIST * const new_charset=(LIST*) my_malloc(sizeof(LIST),MYF(MY_FAE));
 
73
  LIST * const new_charset=(LIST*) malloc(sizeof(LIST));
72
74
  if (!new_charset)
73
75
    return NULL;
74
76
  new_charset->data=data;