~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_plugin.cc

  • Committer: Monty Taylor
  • Date: 2008-12-07 20:19:03 UTC
  • mto: This revision was merged to the branch mainline in revision 670.
  • Revision ID: monty@inaugust.com-20081207201903-jfrhv8afqf8bew6f
Removed my_strdup from drizzled/

Show diffs side-by-side

added added

removed removed

Lines of Context:
1604
1604
  *(char **)tgt= *(char **) save;
1605
1605
  if (var->flags & PLUGIN_VAR_MEMALLOC)
1606
1606
  {
1607
 
    *(char **)tgt= my_strdup(*(char **) save, MYF(0));
 
1607
    *(char **)tgt= strdup(*(char **) save);
1608
1608
    free(old);
1609
1609
  }
1610
1610
}
1860
1860
                             *(int*)(pi->plugin_var + 1));
1861
1861
         if ((*pp= *(char**) (global_system_variables.dynamic_variables_ptr +
1862
1862
                             *(int*)(pi->plugin_var + 1))))
1863
 
           *pp= my_strdup(*pp, MYF(MY_WME|MY_FAE));
 
1863
           *pp= strdup(*pp);
1864
1864
      }
1865
1865
    }
1866
1866