OLD | NEW |
1 /* | 1 /* |
2 ** 2004 May 26 | 2 ** 2004 May 26 |
3 ** | 3 ** |
4 ** The author disclaims copyright to this source code. In place of | 4 ** The author disclaims copyright to this source code. In place of |
5 ** a legal notice, here is a blessing: | 5 ** a legal notice, here is a blessing: |
6 ** | 6 ** |
7 ** May you do good and not evil. | 7 ** May you do good and not evil. |
8 ** May you find forgiveness for yourself and forgive others. | 8 ** May you find forgiveness for yourself and forgive others. |
9 ** May you share freely, never taking more than you give. | 9 ** May you share freely, never taking more than you give. |
10 ** | 10 ** |
(...skipping 1139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1150 Mem *p = (Mem*)pVal; | 1150 Mem *p = (Mem*)pVal; |
1151 if( (p->flags & MEM_Blob)!=0 || sqlite3ValueText(pVal, enc) ){ | 1151 if( (p->flags & MEM_Blob)!=0 || sqlite3ValueText(pVal, enc) ){ |
1152 if( p->flags & MEM_Zero ){ | 1152 if( p->flags & MEM_Zero ){ |
1153 return p->n + p->u.nZero; | 1153 return p->n + p->u.nZero; |
1154 }else{ | 1154 }else{ |
1155 return p->n; | 1155 return p->n; |
1156 } | 1156 } |
1157 } | 1157 } |
1158 return 0; | 1158 return 0; |
1159 } | 1159 } |
OLD | NEW |