~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/charset.c

  • Committer: Brian Aker
  • Date: 2008-08-22 15:37:17 UTC
  • mfrom: (365.2.9 codestyle)
  • mto: This revision was merged to the branch mainline in revision 368.
  • Revision ID: brian@tangent.org-20080822153717-kqyxqh0xcnvfjrzh
Merge from Monty.

Show diffs side-by-side

added added

removed removed

Lines of Context:
832
832
    mean "big enough"
833
833
 
834
834
  RETURN VALUES
835
 
    ~0          The escaped string did not fit in the to buffer
 
835
    UINT32_MAX  The escaped string did not fit in the to buffer
836
836
    >=0         The length of the escaped string
837
837
*/
838
838
 
889
889
    }
890
890
  }
891
891
  *to= 0;
892
 
  return overflow ? (uint32_t)~0 : (uint32_t) (to - to_start);
 
892
  return overflow ? UINT32_MAX : (uint32_t) (to - to_start);
893
893
}