~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzlecheck.cc

  • Committer: Eric Herman
  • Date: 2008-12-06 19:42:46 UTC
  • mto: (656.1.6 devel)
  • mto: This revision was merged to the branch mainline in revision 665.
  • Revision ID: eric@mysql.com-20081206194246-5cdexuu81i366eek
removed trailing whitespace with simple script:

for file in $(find . -name "*.c") $(find . -name "*.cc") $(find . -name "*.h"); do ruby -pe 'gsub(/\s+$/, $/)' < $file > $file.out; mv $file.out $file; done;

Show diffs side-by-side

added added

removed removed

Lines of Context:
392
392
      We need table list in form `a`, `b`, `c`
393
393
      that's why we need 2 more chars added to to each table name
394
394
      space is for more readable output in logs and in case of error
395
 
    */   
 
395
    */
396
396
    char *table_names_comma_sep, *end;
397
397
    int i, tot_length = 0;
398
398
 
424
424
{
425
425
  const char *p;
426
426
  uint extra_length= 2;  /* count the first/last backticks */
427
 
 
 
427
 
428
428
  for (p= name; *p; p++)
429
429
  {
430
430
    if (*p == '`')