mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
使用更优化的sql histogram分布
git-svn-id: http://code.alibabatech.com/svn/druid/trunk@901 b9813039-fb51-4c41-a8b9-e21c2acb5095
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package com.alibaba.druid;
|
||||
|
||||
import junit.framework.TestCase;
|
||||
|
||||
public class TestHistogram extends TestCase {
|
||||
public void test_histogram() throws Exception {
|
||||
int val = 4;
|
||||
for (int i = 0; i < 10; ++i) {
|
||||
val *= 4;
|
||||
System.out.println(val);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user