~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/mysqlslap.c

  • Committer: Monty Taylor
  • Date: 2008-07-30 03:26:20 UTC
  • mto: (236.1.4 codestyle)
  • mto: This revision was merged to the branch mainline in revision 239.
  • Revision ID: monty@inaugust.com-20080730032620-9g6t1ua4p0p0r177
Removed my_stat.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1469
1469
    if (create_string && !stat(create_string, &sbuf))
1470
1470
    {
1471
1471
      File data_file;
1472
 
      if (!MY_S_ISREG(sbuf.st_mode))
 
1472
      if (!S_ISREG(sbuf.st_mode))
1473
1473
      {
1474
1474
        fprintf(stderr,"%s: Create file was not a regular file\n",
1475
1475
                my_progname);
1506
1506
    if (user_supplied_query && !stat(user_supplied_query, &sbuf))
1507
1507
    {
1508
1508
      File data_file;
1509
 
      if (!MY_S_ISREG(sbuf.st_mode))
 
1509
      if (!S_ISREG(sbuf.st_mode))
1510
1510
      {
1511
1511
        fprintf(stderr,"%s: User query supplied file was not a regular file\n",
1512
1512
                my_progname);
1538
1538
      && !stat(user_supplied_pre_statements, &sbuf))
1539
1539
  {
1540
1540
    File data_file;
1541
 
    if (!MY_S_ISREG(sbuf.st_mode))
 
1541
    if (!S_ISREG(sbuf.st_mode))
1542
1542
    {
1543
1543
      fprintf(stderr,"%s: User query supplied file was not a regular file\n",
1544
1544
              my_progname);
1570
1570
      && !stat(user_supplied_post_statements, &sbuf))
1571
1571
  {
1572
1572
    File data_file;
1573
 
    if (!MY_S_ISREG(sbuf.st_mode))
 
1573
    if (!S_ISREG(sbuf.st_mode))
1574
1574
    {
1575
1575
      fprintf(stderr,"%s: User query supplied file was not a regular file\n",
1576
1576
              my_progname);