~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_class.cc

  • Committer: Monty Taylor
  • Date: 2008-10-21 23:41:34 UTC
  • Revision ID: monty@inaugust.com-20081021234134-1md1um9m7fh9jxex
Removed stxnmov. Also deleted strstr which had already been removed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1483
1483
 
1484
1484
  if (!dirname_length(exchange->file_name))
1485
1485
  {
1486
 
    strxnmov(path, FN_REFLEN-1, mysql_real_data_home, session->db ? session->db : "",
1487
 
             NULL);
 
1486
    strcpy(path, mysql_real_data_home);
 
1487
    if (session->db)
 
1488
      strncat(path, session->db, FN_REFLEN-strlen(mysql_real_data_home)-1);
1488
1489
    (void) fn_format(path, exchange->file_name, path, "", option);
1489
1490
  }
1490
1491
  else