Fix documentation

Signed-off-by: Michal Čihař <michal@cihar.com>
Indent by spaces instead of tabs

Signed-off-by: Michal Čihař <michal@cihar.com>
Set correct type for mysql type of comments

Signed-off-by: Michal Čihař <michal@cihar.com>
Remove not needed initializations

Signed-off-by: Michal Čihař <michal@cihar.com>
Remove default parameter value, passing sting here will fail

Signed-off-by: Michal Čihař <michal@cihar.com>
Remove unused code

Signed-off-by: Michal Čihař <michal@cihar.com>
Remove unused code

Signed-off-by: Michal Čihař <michal@cihar.com>
Move acquiring stats to place where the value is used

Signed-off-by: Michal Čihař <michal@cihar.com>
Remove unused variable

Signed-off-by: Michal Čihař <michal@cihar.com>
Remove unused code

Signed-off-by: Michal Čihař <michal@cihar.com>
Remove unused assignment

Signed-off-by: Michal Čihař <michal@cihar.com>
Remove unused variable

Signed-off-by: Michal Čihař <michal@cihar.com>
Remove unused assignment

Signed-off-by: Michal Čihař <michal@cihar.com>
Use dot notation for accessing array members

Signed-off-by: Michal Čihař <michal@cihar.com>
Fixed indentation

Signed-off-by: Michal Čihař <michal@cihar.com>
Fixed indetation

Signed-off-by: Michal Čihař <michal@cihar.com>