mirror of
				https://github.com/sqlite/sqlite.git
				synced 2025-11-03 16:53:36 +03:00 
			
		
		
		
	Limit the total data in a single row to 2^16-1 bytes. (CVS 248)
FossilOrigin-Name: 8fdec4d8b6043471f21235bc8918c9a8d838f508
This commit is contained in:
		@@ -26,7 +26,7 @@
 | 
			
		||||
** This file contains functions for allocating memory, comparing
 | 
			
		||||
** strings, and stuff like that.
 | 
			
		||||
**
 | 
			
		||||
** $Id: util.c,v 1.23 2001/09/15 00:57:29 drh Exp $
 | 
			
		||||
** $Id: util.c,v 1.24 2001/09/15 13:15:13 drh Exp $
 | 
			
		||||
*/
 | 
			
		||||
#include "sqliteInt.h"
 | 
			
		||||
#include <stdarg.h>
 | 
			
		||||
@@ -997,6 +997,7 @@ const char *sqliteErrStr(int rc){
 | 
			
		||||
    case SQLITE_PROTOCOL:   z = "database locking protocol failure";     break;
 | 
			
		||||
    case SQLITE_EMPTY:      z = "table contains no data";                break;
 | 
			
		||||
    case SQLITE_SCHEMA:     z = "database schema has changed";           break;
 | 
			
		||||
    case SQLITE_TOOBIG:     z = "too much data for one table row";       break;
 | 
			
		||||
    default:                z = "unknown error";                         break;
 | 
			
		||||
  }
 | 
			
		||||
  return z;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user