diff options
author | Eliot Horowitz <eliot@10gen.com> | 2010-07-23 21:34:43 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2010-07-23 21:34:43 -0400 |
commit | 4aced1b2a44b8c6c25026a103ea396076dd62db1 (patch) | |
tree | 52ad1e7a25f41aaa964dbebe0a47a756c9a4f8d1 /shell/shell_utils.cpp | |
parent | f5503895cf4f6b33b39fc7cd9681d6f7a94c9a07 (diff) | |
download | mongo-4aced1b2a44b8c6c25026a103ea396076dd62db1.tar.gz |
fix assert
Diffstat (limited to 'shell/shell_utils.cpp')
-rw-r--r-- | shell/shell_utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/shell_utils.cpp b/shell/shell_utils.cpp index c6aa9aef77a..8a41e257b74 100644 --- a/shell/shell_utils.cpp +++ b/shell/shell_utils.cpp @@ -467,7 +467,7 @@ namespace mongo { strcpy( temp, last ); strcpy( buf, temp ); } else { - assert( strlen( buf ) <= 1023 ); + assert( strlen( buf ) <= 4095 ); } start = buf + strlen( buf ); } |