Skip to content

Commit

Permalink
#363: added field SQL_TEXT in GROUP BY clause (#364)
Browse files Browse the repository at this point in the history
  • Loading branch information
kochetovd authored Oct 11, 2024
1 parent 1c69c33 commit e86ae7e
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
)

const (
ReleemAgentVersion = "1.19.4.2"
ReleemAgentVersion = "1.19.4.3"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion current_version_agent
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.19.4.2
1.19.4.3
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# install.sh - Version 1.19.4.2
# install.sh - Version 1.19.4.3
# (C) Releem, Inc 2022
# All rights reserved

Expand All @@ -9,7 +9,7 @@ export PATH=$PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/
# using the package manager.

set -e -E
install_script_version=1.19.4.2
install_script_version=1.19.4.3
logfile="/var/log/releem-install.log"

WORKDIR="/opt/releem"
Expand Down
2 changes: 1 addition & 1 deletion metrics/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ func RunWorker(gatherers []MetricsGatherer, gatherers_configuration []MetricsGat
defer HandlePanic(configuration, logger)
Ready = false
var SqlText_elem SqlTextType
rows, err := config.DB.Query("SELECT CURRENT_SCHEMA, DIGEST, SQL_TEXT FROM performance_schema.events_statements_history WHERE DIGEST IS NOT NULL AND CURRENT_SCHEMA IS NOT NULL GROUP BY current_schema, digest")
rows, err := config.DB.Query("SELECT CURRENT_SCHEMA, DIGEST, SQL_TEXT FROM performance_schema.events_statements_history WHERE DIGEST IS NOT NULL AND CURRENT_SCHEMA IS NOT NULL GROUP BY CURRENT_SCHEMA, DIGEST, SQL_TEXT")
if err != nil {
logger.Error(err)
} else {
Expand Down
4 changes: 2 additions & 2 deletions mysqlconfigurer.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# mysqlconfigurer.sh - Version 1.19.4.2
# mysqlconfigurer.sh - Version 1.19.4.3
# (C) Releem, Inc 2022
# All rights reserved

Expand All @@ -15,7 +15,7 @@ MYSQLTUNER_REPORT=$MYSQLCONFIGURER_PATH"mysqltunerreport.json"
RELEEM_MYSQL_VERSION=$MYSQLCONFIGURER_PATH"mysql_version"
MYSQLCONFIGURER_CONFIGFILE="${MYSQLCONFIGURER_PATH}${MYSQLCONFIGURER_FILE_NAME}"
MYSQL_MEMORY_LIMIT=0
VERSION="1.19.4.2"
VERSION="1.19.4.3"
RELEEM_INSTALL_PATH=$MYSQLCONFIGURER_PATH"install.sh"
logfile="/var/log/releem-mysqlconfigurer.log"

Expand Down

0 comments on commit e86ae7e

Please sign in to comment.