Core: Add column count to debug log

This commit is contained in:
Rob Garrison 2016-07-20 07:26:45 -05:00
parent e700b2a35a
commit d8b2b27ab6
No known key found for this signature in database
GPG Key ID: 0A42D160D71978E1

View File

@ -978,7 +978,8 @@
if ( c.debug ) {
len = Math.min( 5, c.cache[ 0 ].normalized.length );
console[ console.group ? 'group' : 'log' ]( 'Building cache for ' + c.totalRows +
' rows (showing ' + len + ' rows in log)' + ts.benchmark( cacheTime ) );
' rows (showing ' + len + ' rows in log) and ' + c.columns + ' columns' +
ts.benchmark( cacheTime ) );
val = {};
for ( colIndex = 0; colIndex < c.columns; colIndex++ ) {
for ( cacheIndex = 0; cacheIndex < len; cacheIndex++ ) {