~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzle.cc

  • Committer: Brian Aker
  • Date: 2008-09-04 18:16:51 UTC
  • Revision ID: brian@tangent.org-20080904181651-kydoxckk145z99b8
strend remove

Show diffs side-by-side

added added

removed removed

Lines of Context:
2515
2515
 
2516
2516
  if (help_arg[0] != '\'')
2517
2517
  {
2518
 
    char *end_arg= strend(help_arg);
 
2518
    char *end_arg= strchr(help_arg, '\0');
2519
2519
    if(--end_arg)
2520
2520
    {
2521
2521
      while (my_isspace(charset_info,*end_arg))
2781
2781
                             (long) drizzle_affected_rows(&drizzle)),
2782
2782
              (long) drizzle_affected_rows(&drizzle));
2783
2783
 
2784
 
    pos=strend(buff);
 
2784
    pos= strchr(buff, '\0');
2785
2785
    if ((warnings= drizzle_warning_count(&drizzle)))
2786
2786
    {
2787
2787
      *pos++= ',';
4133
4133
  buff[0]=' ';
4134
4134
  buff[1]='(';
4135
4135
  end_timer(start_time,buff+2);
4136
 
  stpcpy(strend(buff),")");
 
4136
  stpcpy(strchr(buff, '\0'),")");
4137
4137
}
4138
4138
 
4139
4139
static const char * construct_prompt()