Skip to content

Commit

Permalink
Fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
steventwheeler committed Mar 8, 2024
1 parent b5e766e commit d20dc77
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ import slick.sql.SqlStreamingAction
import profile.api._
private val schema = durableStateTableCfg.schemaName.map(n => s"'$n'").getOrElse("DATABASE()")
// Note: for actual MySQL servers (i.e. not MariaDB) the variable information_schema_stats_expiry should be set to zero.
final val nextValFetcher =
final val nextValFetcher =
s"""(SELECT AUTO_INCREMENT FROM information_schema.tables WHERE table_name = '${durableStateTableCfg.tableName}' AND table_schema = ${schema})"""

def getSequenceNextValueExpr() = sql"""#$nextValFetcher""".as[String]
Expand Down

0 comments on commit d20dc77

Please sign in to comment.