aboutsummaryrefslogtreecommitdiff
path: root/src/server/shared/Database
diff options
context:
space:
mode:
authorleak <none@none>2010-12-22 00:12:03 +0100
committerleak <none@none>2010-12-22 00:12:03 +0100
commit6115b0bd5f05b3e9986f2ff1e1d8f142a4538e7f (patch)
treec41d4dfbfbb9b7b2ee60aab652fb0f59d7641b6d /src/server/shared/Database
parenta45a039e736fb81aff6c2a4812561de220da62ec (diff)
Removing ProgressBars as they are performing badly on startup.
[**************************************************] 100% R.I.P --HG-- branch : trunk
Diffstat (limited to 'src/server/shared/Database')
-rwxr-xr-xsrc/server/shared/Database/SQLStorageImpl.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/server/shared/Database/SQLStorageImpl.h b/src/server/shared/Database/SQLStorageImpl.h
index 4389ddaa325..8f26805a051 100755
--- a/src/server/shared/Database/SQLStorageImpl.h
+++ b/src/server/shared/Database/SQLStorageImpl.h
@@ -16,7 +16,6 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "ProgressBar.h"
#include "Log.h"
#include "DBCFileLoader.h"
@@ -177,11 +176,9 @@ void SQLStorageLoaderBase<T>::Load(SQLStorage &store)
char * _data= new char[store.RecordCount *recordsize];
uint32 count=0;
- barGoLink bar( store.RecordCount );
do
{
fields = result->Fetch();
- bar.step();
char *p=(char*)&_data[recordsize*count];
newIndex[fields[0].GetUInt32()]=p;