Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • aports-turbo aports-turbo
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 11
    • Issues 11
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • alpinealpine
  • infrainfra
  • aports-turboaports-turbo
  • Merge requests
  • !40

tools/import.lua: fix 'flagged' table name

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Carlo Landmeter requested to merge github/fork/myhro/fix-import into master Oct 26, 2018
  • Overview 1
  • Commits 1
  • Pipelines 0
  • Changes 1

Created by: myhro

Hi,

An error was occurring when running the import script with config.db.init = true:

Function: update_flagged
Database error: no such table: flagged
SQL Query:
        UPDATE flagged SET updated = strftime('%s', 'now')
        WHERE repo = :repo
        AND origin = :origin
        AND version = :version

luajit: tools/import.lua:416: attempt to index local 'stmt' (a nil value)
stack traceback:
        tools/import.lua:416: in function 'update_flagged'
        tools/import.lua:463: in main chunk
        [C]: at 0x55a63415fc6e

Changing it from flagged.flagged to flagged fixed it.

Regards, Tiago.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/myhro/fix-import